Changeset View
Changeset View
Standalone View
Standalone View
pinentry/argparse.c
| Context not available. | |||||
| return 0; | return 0; | ||||
| case ARGPARSE_TYPE_ULONG: | case ARGPARSE_TYPE_ULONG: | ||||
| while (isascii (*s) && isspace(*s)) | while (isascii (*s) && isspace((unsigned char)*s)) | ||||
werner: The whole point of isascii is to avoid a cast. | |||||
Done Inline ActionsYou're right, but gcc emitted a warning anyway. I think it's better to have no warnings during build, because it can confuse new programmers just trying to build the project. Sabrosa: You're right, but gcc emitted a warning anyway. I think it's better to have no warnings during… | |||||
| s++; | s++; | ||||
| if (*s == '-') | if (*s == '-') | ||||
| { | { | ||||
| Context not available. | |||||
The whole point of isascii is to avoid a cast.