summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-12-25 22:22:41 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2010-12-25 22:22:41 +0100
commit92eddd8ad5713a2049a8750361f2f4d4518f6efa (patch)
tree8171ce913003ff72fba0cd77686b9b2374def5aa /include
parent516477a5d20d28ac2c945f5d717a39de954260bb (diff)
downloadlibmnl-92eddd8ad5713a2049a8750361f2f4d4518f6efa.tar.gz
libmnl-92eddd8ad5713a2049a8750361f2f4d4518f6efa.zip
header: fix signess issues in MNL_SOCKET_BUFFER_SIZE
This patch fixes the following compilation warning: warning: comparison between signed and unsigned integer expressions warning: signed and unsigned type in conditional expression Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/libmnl/libmnl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libmnl/libmnl.h b/include/libmnl/libmnl.h
index 3e69629..0ca9e4d 100644
--- a/include/libmnl/libmnl.h
+++ b/include/libmnl/libmnl.h
@@ -22,7 +22,7 @@ extern "C" {
*/
#define MNL_SOCKET_AUTOPID 0
-#define MNL_SOCKET_BUFFER_SIZE (getpagesize() < 8192UL ? getpagesize() : 8192UL)
+#define MNL_SOCKET_BUFFER_SIZE (getpagesize() < 8192L ? getpagesize() : 8192L)
struct mnl_socket;