"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

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;