diff options
author | mjacob <mjacob@FreeBSD.org> | 2007-06-10 04:53:13 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2007-06-10 04:53:13 +0000 |
commit | 4698037127234416be7866d520f1f411c5238e2f (patch) | |
tree | 64722da50e136269214c84ecdf1183aa0494e6a5 /sys/net/if_spppsubr.c | |
parent | 1d5b1d55e463e242877992ab214400b4ab2b21d1 (diff) | |
download | FreeBSD-src-4698037127234416be7866d520f1f411c5238e2f.zip FreeBSD-src-4698037127234416be7866d520f1f411c5238e2f.tar.gz |
Cast the ioctl define to the type of the variable being switched on.
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r-- | sys/net/if_spppsubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 6071e06..9d82399 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -5176,7 +5176,7 @@ sppp_params(struct sppp *sp, u_long cmd, void *data) } switch (subcmd) { - case (int)SPPPIOGDEFS: + case (u_long)SPPPIOGDEFS: if (cmd != SIOCGIFGENERIC) { rv = EINVAL; break; @@ -5211,7 +5211,7 @@ sppp_params(struct sppp *sp, u_long cmd, void *data) sizeof(struct spppreq)); break; - case (int)SPPPIOSDEFS: + case (u_long)SPPPIOSDEFS: if (cmd != SIOCSIFGENERIC) { rv = EINVAL; break; |