mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-22 03:41:27 +00:00
Cast is_digit() parameter to an int to avoid warnings when compiling under
IRIX
This commit is contained in:
parent
2f10b85570
commit
05bb2f53a9
1 changed files with 2 additions and 2 deletions
|
@ -186,10 +186,10 @@ int Q_qstrcmp(char **os1, char **os2)
|
|||
while (1) {
|
||||
in1 = in2 = n1 = n2 = 0;
|
||||
|
||||
if ((in1 = isdigit(*s1)))
|
||||
if ((in1 = isdigit((int) *s1)))
|
||||
n1 = strtol(s1, &s1, 10);
|
||||
|
||||
if ((in2 = isdigit(*s2)))
|
||||
if ((in2 = isdigit((int) *s2)))
|
||||
n2 = strtol(s2, &s2, 10);
|
||||
|
||||
if (in1 && in2) {
|
||||
|
|
Loading…
Reference in a new issue