2
0
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:
Michael Brown 2007-07-05 12:04:53 +01:00
parent 8156f6bd19
commit bdd1a0f462

View File

@ -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 */