summaryrefslogtreecommitdiff
path: root/usr/src/boot/lib/libstand/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/boot/lib/libstand/net.c')
-rw-r--r--usr/src/boot/lib/libstand/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/boot/lib/libstand/net.c b/usr/src/boot/lib/libstand/net.c
index 7d775faf17..ae2590a327 100644
--- a/usr/src/boot/lib/libstand/net.c
+++ b/usr/src/boot/lib/libstand/net.c
@@ -266,7 +266,7 @@ intoa(n_long addr)
}
static char *
-number(char *s, int *n)
+number(char *s, uint32_t *n)
{
for (*n = 0; isdigit(*s); s++)
*n = (*n * 10) + *s - '0';
@@ -277,7 +277,7 @@ n_long
ip_convertaddr(char *p)
{
#define IP_ANYADDR 0
- n_long addr = 0, n;
+ uint32_t addr = 0, n;
if (p == NULL || *p == '\0')
return (IP_ANYADDR);