diff options
-rw-r--r-- | networking/udhcp/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/script.c b/networking/udhcp/script.c index 98706a592..68de358e5 100644 --- a/networking/udhcp/script.c +++ b/networking/udhcp/script.c | |||
@@ -14,7 +14,7 @@ | |||
14 | 14 | ||
15 | 15 | ||
16 | /* get a rough idea of how long an option will be (rounding up...) */ | 16 | /* get a rough idea of how long an option will be (rounding up...) */ |
17 | static const int max_option_length[] = { | 17 | static const uint8_t max_option_length[] = { |
18 | [OPTION_IP] = sizeof("255.255.255.255 "), | 18 | [OPTION_IP] = sizeof("255.255.255.255 "), |
19 | [OPTION_IP_PAIR] = sizeof("255.255.255.255 ") * 2, | 19 | [OPTION_IP_PAIR] = sizeof("255.255.255.255 ") * 2, |
20 | [OPTION_STRING] = 1, | 20 | [OPTION_STRING] = 1, |