summaryrefslogtreecommitdiffstats
path: root/common/sys/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/sys/net.c')
-rw-r--r--common/sys/net.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/sys/net.c b/common/sys/net.c
index 80566487..ba08ff7f 100644
--- a/common/sys/net.c
+++ b/common/sys/net.c
@@ -12,10 +12,11 @@
#include "cmsys.h"
-unsigned int
+uint32_t
ipstr2int(const char *ip)
{
- unsigned int i, val = 0;
+ unsigned int i;
+ uint32_t val = 0;
char buf[32];
char *nil, *p;