diff options
Diffstat (limited to 'sbin/spppcontrol')
-rw-r--r-- | sbin/spppcontrol/spppcontrol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/spppcontrol/spppcontrol.c b/sbin/spppcontrol/spppcontrol.c index a1df0f4..9cb84ab 100644 --- a/sbin/spppcontrol/spppcontrol.c +++ b/sbin/spppcontrol/spppcontrol.c @@ -88,7 +88,7 @@ main(int argc, char **argv) argc--; argv++; - spr.cmd = (int)SPPPIOGDEFS; + spr.cmd = (uintptr_t) SPPPIOGDEFS; ifr.ifr_data = (caddr_t)&spr; if (ioctl(s, SIOCGIFGENERIC, &ifr) == -1) @@ -186,7 +186,7 @@ main(int argc, char **argv) argc--; } - spr.cmd = (int)SPPPIOSDEFS; + spr.cmd = (uintptr_t)SPPPIOSDEFS; if (ioctl(s, SIOCSIFGENERIC, &ifr) == -1) err(EX_OSERR, "SIOCSIFGENERIC(SPPPIOSDEFS)"); |