Browse Source

[ipv6] Fix compilation under FreeBSD

Reported-by: Dewey Hylton <dewey@hyltown.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 11 years ago
parent
commit
2200ca0e8f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/include/ipxe/ndp.h

+ 1
- 1
src/include/ipxe/ndp.h View File

24
 } __attribute__ (( packed ));
24
 } __attribute__ (( packed ));
25
 
25
 
26
 /** NDP option block size */
26
 /** NDP option block size */
27
-#define NDP_OPTION_BLKSZ 8
27
+#define NDP_OPTION_BLKSZ 8U
28
 
28
 
29
 /** NDP source link-layer address option */
29
 /** NDP source link-layer address option */
30
 #define NDP_OPT_LL_SOURCE 1
30
 #define NDP_OPT_LL_SOURCE 1

Loading…
Cancel
Save