diff options
author | Thomas Habets <habets@google.com> | 2019-10-21 17:30:15 +0100 |
---|---|---|
committer | Thomas Habets <habets@google.com> | 2019-10-21 17:30:15 +0100 |
commit | 4403abd07bd7177540a4c203310c79bb4a95fff6 (patch) | |
tree | 945d433eab193009d508082ad7ccf95930f5d2b8 /include/libnet | |
parent | 18272df968235771fd2221a1a0e6d59d4421db23 (diff) | |
download | libnet-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.h | 6 |
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 |