projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4c8232
)
Can't store a pointer in an int on 64 bit platforms.
author
Rob Landley
<rob@landley.net>
Tue, 22 Nov 2005 17:09:14 +0000
(17:09 -0000)
committer
Rob Landley
<rob@landley.net>
Tue, 22 Nov 2005 17:09:14 +0000
(17:09 -0000)
networking/ifconfig.c
patch
|
blob
|
history
diff --git
a/networking/ifconfig.c
b/networking/ifconfig.c
index eddf052e0c8d88b4a955d5ce80ace0b4526f2e21..1e1bd83eecdefc1b5367bff76cdae69e88824fac 100644
(file)
--- 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