diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-09-05 07:10:23 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-09-05 07:10:23 (GMT) |
commit | 67c719b34b86ba073e6f25cfa3e1994ecb16b888 (patch) | |
tree | 7874b80f9e183ee99596bf9a6dfce6dee2489feb /Parser/node.c | |
parent | 2ee44f7f5584b343ee26fb2be46ffde571a5e63d (diff) | |
download | cpython-67c719b34b86ba073e6f25cfa3e1994ecb16b888.zip cpython-67c719b34b86ba073e6f25cfa3e1994ecb16b888.tar.gz cpython-67c719b34b86ba073e6f25cfa3e1994ecb16b888.tar.bz2 |
Silenced some warnings about comparison between signed and unsigned integer
expressions.
Diffstat (limited to 'Parser/node.c')
-rw-r--r-- | Parser/node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser/node.c b/Parser/node.c index 564bd91..0010324 100644 --- a/Parser/node.c +++ b/Parser/node.c @@ -70,8 +70,8 @@ fancy_roundup(int n) * Note that this would be straightforward if a node stored its current * capacity. The code is tricky to avoid that. */ -#define XXXROUNDUP(n) ((n) <= 1 ? (n) : \ - (n) <= 128 ? _Py_SIZE_ROUND_UP((n), 4) : \ +#define XXXROUNDUP(n) ((n) <= 1 ? (n) : \ + (n) <= 128 ? (int)_Py_SIZE_ROUND_UP((n), 4) : \ fancy_roundup(n)) |