Sfoglia il codice sorgente

[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 anni fa
parent
commit
2200ca0e8f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/include/ipxe/ndp.h

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

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

Loading…
Annulla
Salva