mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
C++ compiler cleanup: cast signed to unsigned
This commit is contained in:
parent
dd527fcbcd
commit
a0b6338823
1 changed files with 1 additions and 1 deletions
|
|
@ -1230,7 +1230,7 @@ tok_get(register struct tok_state *tok, char **p_start, char **p_end)
|
|||
do {
|
||||
*tp++ = c = tok_nextc(tok);
|
||||
} while (c != EOF && c != '\n' &&
|
||||
tp - cbuf + 1 < sizeof(cbuf));
|
||||
(unsigned int)(tp - cbuf + 1) < sizeof(cbuf));
|
||||
*tp = '\0';
|
||||
for (cp = tabforms;
|
||||
cp < tabforms + sizeof(tabforms)/sizeof(tabforms[0]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue