summaryrefslogtreecommitdiff
path: root/include/libnet
diff options
context:
space:
mode:
authorThomas Habets <habets@google.com>2019-10-21 17:30:15 +0100
committerThomas Habets <habets@google.com>2019-10-21 17:30:15 +0100
commit4403abd07bd7177540a4c203310c79bb4a95fff6 (patch)
tree945d433eab193009d508082ad7ccf95930f5d2b8 /include/libnet
parent18272df968235771fd2221a1a0e6d59d4421db23 (diff)
downloadlibnet-4403abd07bd7177540a4c203310c79bb4a95fff6.tar.gz
Fix some non-standard types to build with -std=c18
Diffstat (limited to 'include/libnet')
-rw-r--r--include/libnet/libnet-macros.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libnet/libnet-macros.h b/include/libnet/libnet-macros.h
index 81901fe..276e611 100644
--- a/include/libnet/libnet-macros.h
+++ b/include/libnet/libnet-macros.h
@@ -170,9 +170,9 @@ if (payload_s) \
/* context queue macros and constants */
#define LIBNET_LABEL_SIZE 64
#define LIBNET_LABEL_DEFAULT "cardshark"
-#define CQ_LOCK_UNLOCKED (u_int)0x00000000
-#define CQ_LOCK_READ (u_int)0x00000001
-#define CQ_LOCK_WRITE (u_int)0x00000002
+#define CQ_LOCK_UNLOCKED (uint32_t)0x00000000
+#define CQ_LOCK_READ (uint32_t)0x00000001
+#define CQ_LOCK_WRITE (uint32_t)0x00000002
/**
* Provides an interface to iterate through the context queue of libnet