mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-24 12:11:33 +00:00
Make masking constants unsigned, to avoid a gcc3-only compiler warning.
This commit is contained in:
parent
8156f6bd19
commit
bdd1a0f462
@ -12,12 +12,12 @@
|
||||
|
||||
/* IP constants */
|
||||
|
||||
#define IP_VER 0x40
|
||||
#define IP_MASK_VER 0xf0
|
||||
#define IP_MASK_HLEN 0x0f
|
||||
#define IP_MASK_OFFSET 0x1fff
|
||||
#define IP_MASK_DONOTFRAG 0x4000
|
||||
#define IP_MASK_MOREFRAGS 0x2000
|
||||
#define IP_VER 0x40U
|
||||
#define IP_MASK_VER 0xf0U
|
||||
#define IP_MASK_HLEN 0x0fU
|
||||
#define IP_MASK_OFFSET 0x1fffU
|
||||
#define IP_MASK_DONOTFRAG 0x4000U
|
||||
#define IP_MASK_MOREFRAGS 0x2000U
|
||||
#define IP_PSHLEN 12
|
||||
|
||||
/* IP header defaults */
|
||||
|
Loading…
Reference in New Issue
Block a user