mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Fix some char index issues.
This commit is contained in:
parent
7928274b6e
commit
62face768f
2 changed files with 2 additions and 2 deletions
|
@ -556,7 +556,7 @@ Cmd_StuffCmds (cbuf_t *cbuf)
|
|||
|
||||
for (j = i;
|
||||
(com_cmdline[j]
|
||||
&& !((j == 0 || isspace(com_cmdline[j - 1]))
|
||||
&& !((j == 0 || isspace((byte) com_cmdline[j - 1]))
|
||||
&& ((com_cmdline[j] == '+')
|
||||
|| (com_cmdline[j] == '-'))));
|
||||
j++)
|
||||
|
|
|
@ -481,7 +481,7 @@ PL_ParseData (pldata_t *pl, int *len)
|
|||
|
||||
while (pl->pos < pl->end) {
|
||||
c = pl->ptr[pl->pos++];
|
||||
if (isxdigit (c)) {
|
||||
if (isxdigit ((byte) c)) {
|
||||
nibbles++;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue