diff options
author | obrien <obrien@FreeBSD.org> | 2002-05-01 04:18:36 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-05-01 04:18:36 +0000 |
commit | 81dea2aac7ae8b1929b9e7d6db345ff3ae760353 (patch) | |
tree | 7f6c62a35f1d93a41836d7e19728e2055b776c16 /sys/net/if_spppsubr.c | |
parent | 590c999a507a06bbc92db7740b1f34d4f92fd220 (diff) | |
download | FreeBSD-src-81dea2aac7ae8b1929b9e7d6db345ff3ae760353.zip FreeBSD-src-81dea2aac7ae8b1929b9e7d6db345ff3ae760353.tar.gz |
"pointers are not permitted as case values", so force the macros to ints.
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 807cdb5..648c862 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -5029,7 +5029,7 @@ sppp_params(struct sppp *sp, u_long cmd, void *data) } switch (subcmd) { - case SPPPIOGDEFS: + case (int)SPPPIOGDEFS: if (cmd != SIOCGIFGENERIC) { rv = EINVAL; break; @@ -5064,7 +5064,7 @@ sppp_params(struct sppp *sp, u_long cmd, void *data) sizeof(struct spppreq)); break; - case SPPPIOSDEFS: + case (int)SPPPIOSDEFS: if (cmd != SIOCSIFGENERIC) { rv = EINVAL; break; |