Fix the build on 64-bit hosts. WARNS=6 fails on them.
This commit is contained in:
parent
de798597b0
commit
8a56aff73e
@ -719,7 +719,7 @@ get_literal(void)
|
||||
++cptr;
|
||||
}
|
||||
}
|
||||
if (n > UCHAR_MAX) illegal_character(c_cptr);
|
||||
if (n > (int)UCHAR_MAX) illegal_character(c_cptr);
|
||||
c = n;
|
||||
break;
|
||||
|
||||
@ -735,7 +735,7 @@ get_literal(void)
|
||||
if (i < 0 || i >= 16) break;
|
||||
++cptr;
|
||||
n = (n << 4) + i;
|
||||
if (n > UCHAR_MAX) illegal_character(c_cptr);
|
||||
if (n > (int)UCHAR_MAX) illegal_character(c_cptr);
|
||||
}
|
||||
c = n;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user