1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

"pointers are not permitted as case values", so force the macros to ints.

This commit is contained in:
David E. O'Brien 2002-05-01 04:18:36 +00:00
parent 90a78bd0ba
commit addbf23d05
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95848

View File

@ -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;