diff options
author | Fred Drake <fdrake@acm.org> | 1998-05-11 03:31:16 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-05-11 03:31:16 (GMT) |
commit | ed3da23e446831076a0dc1b1313d38ee93637513 (patch) | |
tree | fb57bb3ab57caee116ecd2ae9bd4eb00b8dd896a /Modules | |
parent | 03e35c548fb1de1e35dd64649eb2a560fac1c1fc (diff) | |
download | cpython-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).
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/parsermodule.c | 2 |
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); |