summaryrefslogtreecommitdiffstats
path: root/include/libipset
diff options
context:
space:
mode:
Diffstat (limited to 'include/libipset')
-rw-r--r--include/libipset/data.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libipset/data.h b/include/libipset/data.h
index 5d80185..b7e7747 100644
--- a/include/libipset/data.h
+++ b/include/libipset/data.h
@@ -65,8 +65,8 @@ enum ipset_opt {
IPSET_OPT_MAX,
};
-#define IPSET_FLAG(opt) (1LL << (opt))
-#define IPSET_FLAGS_ALL (~0LL)
+#define IPSET_FLAG(opt) (1ULL << (opt))
+#define IPSET_FLAGS_ALL (~0ULL)
#define IPSET_CREATE_FLAGS \
(IPSET_FLAG(IPSET_OPT_FAMILY) \