diff options
author | Rob Landley | 2005-11-22 17:09:14 +0000 |
---|---|---|
committer | Rob Landley | 2005-11-22 17:09:14 +0000 |
commit | c819ca98eed7432bea9200390703663151033c60 (patch) | |
tree | 48b6ac09582c20e238fcaae7d564210b5a87f3a2 /networking | |
parent | b4c823211d7bc2e1b05e891e58a465f26ec05ff8 (diff) | |
download | busybox-c819ca98eed7432bea9200390703663151033c60.zip busybox-c819ca98eed7432bea9200390703663151033c60.tar.gz |
Can't store a pointer in an int on 64 bit platforms.
Diffstat (limited to 'networking')
-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 eddf052..1e1bd83 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 |