david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

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
1 changed files with 6 additions and 6 deletions

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