Can't store a pointer in an int on 64 bit platforms.
This commit is contained in:
parent
b4c823211d
commit
c819ca98ee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user