mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
Fix a couple of warnings on netbsd 3.
This commit is contained in:
parent
74b6e3f3ab
commit
38050332f5
1 changed files with 2 additions and 2 deletions
|
@ -384,11 +384,11 @@ getstateval(struct cf_torrentstate *state, char *line) {
|
|||
char *start, *end;
|
||||
|
||||
/* skip any leading whitespace */
|
||||
while(isspace(*line))
|
||||
while(isspace((int)*line))
|
||||
line++;
|
||||
|
||||
/* walk over the key, which may be alphanumerics as well as - or _ */
|
||||
for(start = line; isalnum(*start) || '_' == *start || '-' == *start; start++)
|
||||
for(start = line; isalnum((int)*start) || '_' == *start || '-' == *start; start++)
|
||||
;
|
||||
|
||||
/* they key must be immediately followed by an = */
|
||||
|
|
Loading…
Reference in a new issue