diff options
author | Rob Landley <rob@landley.net> | 2005-11-22 17:09:14 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2005-11-22 17:09:14 +0000 |
commit | c819ca98eed7432bea9200390703663151033c60 (patch) | |
tree | 48b6ac09582c20e238fcaae7d564210b5a87f3a2 /networking/ifconfig.c | |
parent | b4c823211d7bc2e1b05e891e58a465f26ec05ff8 (diff) | |
download | busybox-w32-c819ca98eed7432bea9200390703663151033c60.tar.gz busybox-w32-c819ca98eed7432bea9200390703663151033c60.tar.bz2 busybox-w32-c819ca98eed7432bea9200390703663151033c60.zip |
Can't store a pointer in an int on 64 bit platforms.
Diffstat (limited to 'networking/ifconfig.c')
-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) | |||
480 | memcpy((((char *) (&ifr)) + a1op->ifr_offset), | 480 | memcpy((((char *) (&ifr)) + a1op->ifr_offset), |
481 | p, sizeof(struct sockaddr)); | 481 | p, sizeof(struct sockaddr)); |
482 | } else { | 482 | } else { |
483 | unsigned int i = strtoul(*argv, NULL, 0); | 483 | unsigned long i = strtoul(*argv, NULL, 0); |
484 | 484 | ||
485 | p = ((char *) (&ifr)) + a1op->ifr_offset; | 485 | p = ((char *) (&ifr)) + a1op->ifr_offset; |
486 | #ifdef CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ | 486 | #ifdef CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ |