- Notifications
You must be signed in to change notification settings - Fork28
Commita0c2fa9
committed
isdigit() needs an unsigned char argument.
Per the C standard, the routine should be passed an int, with a value that'srepresentable as an unsigned char or EOF. Passing a signed char is wrong,because a negative value is not representable as an unsigned char.Unfortunately no compiler warns about that.1 parent94ae6ba commita0c2fa9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
| 514 | + | |
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
| |||
0 commit comments
Comments
(0)