diff options
-rw-r--r-- | networking/ifconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifconfig.c b/networking/ifconfig.c index eddf052e0..1e1bd83ee 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c @@ -480,7 +480,7 @@ int ifconfig_main(int argc, char **argv) memcpy((((char *) (&ifr)) + a1op->ifr_offset), p, sizeof(struct sockaddr)); } else { - unsigned int i = strtoul(*argv, NULL, 0); + unsigned long i = strtoul(*argv, NULL, 0); p = ((char *) (&ifr)) + a1op->ifr_offset; #ifdef CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ |