From ed3da23e446831076a0dc1b1313d38ee93637513 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Mon, 11 May 1998 03:31:16 +0000 Subject: [PATCH] parser_compare_nodes(): Corrected a minor type error; eliminate one GCC warning (at least under Linux). --- Modules/parsermodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 465fa25759e..3db3431c732 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);