summaryrefslogtreecommitdiff
path: root/Parser/node.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-09-05 10:10:23 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2014-09-05 10:10:23 +0300
commit67c719b34b86ba073e6f25cfa3e1994ecb16b888 (patch)
tree7874b80f9e183ee99596bf9a6dfce6dee2489feb /Parser/node.c
parent2ee44f7f5584b343ee26fb2be46ffde571a5e63d (diff)
downloadcpython-git-67c719b34b86ba073e6f25cfa3e1994ecb16b888.tar.gz
Silenced some warnings about comparison between signed and unsigned integer
expressions.
Diffstat (limited to 'Parser/node.c')
-rw-r--r--Parser/node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser/node.c b/Parser/node.c
index 564bd91fe5..00103240af 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))