Fix the build on 64-bit hosts. WARNS=6 fails on them.
This commit is contained in:
parent
5e6906ee36
commit
6d4a0c96d3
@ -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