parser_compare_nodes(): Corrected a minor type error; eliminate one GCC

warning (at least under Linux).
This commit is contained in:
Fred Drake 1998-05-11 03:31:16 +00:00
parent 03e35c548f
commit ed3da23e44
1 changed files with 1 additions and 1 deletions

View File

@ -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);