VolState: return an enum volumestate, not a (non-existent) enum volstate.
Strangely, neither gcc nor EGCS noticed this bug. Eagle-eyed by: arno@heho.snv.jussieu.fr (Arno J. Klaassen)
This commit is contained in:
parent
fd54e66185
commit
7428724341
@ -162,7 +162,7 @@ VolState(char *text)
|
||||
int i;
|
||||
for (i = 0; i < STATECOUNT(vol); i++)
|
||||
if (strcmp(text, volstatetext[i]) == 0) /* found it */
|
||||
return (enum volstate) i;
|
||||
return (enum volumestate) i;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user