summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-05-11 03:31:16 (GMT)
committerFred Drake <fdrake@acm.org>1998-05-11 03:31:16 (GMT)
commited3da23e446831076a0dc1b1313d38ee93637513 (patch)
treefb57bb3ab57caee116ecd2ae9bd4eb00b8dd896a
parent03e35c548fb1de1e35dd64649eb2a560fac1c1fc (diff)
downloadcpython-ed3da23e446831076a0dc1b1313d38ee93637513.zip
cpython-ed3da23e446831076a0dc1b1313d38ee93637513.tar.gz
cpython-ed3da23e446831076a0dc1b1313d38ee93637513.tar.bz2
parser_compare_nodes(): Corrected a minor type error; eliminate one GCC
warning (at least under Linux).
-rw-r--r--Modules/parsermodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c
index 465fa25..3db3431 100644
--- a/Modules/parsermodule.c
+++ b/Modules/parsermodule.c
@@ -266,7 +266,7 @@ parser_compare_nodes(left, right)
for (j = 0; j < NCH(left); ++j) {
int v = parser_compare_nodes(CHILD(left, j), CHILD(right, j));
- if (v != NULL)
+ if (v != 0)
return (v);
}
return (0);