summaryrefslogtreecommitdiff
path: root/awkgram.y
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-07-28 20:41:13 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-07-28 20:41:13 +0300
commitbd2fc195fd0e10d989b14c01e57baace5a344ad1 (patch)
tree10fd13ea5a95b3653a5da83f1fbc603829d04e6c /awkgram.y
parent34c8c8d06b766703fdc86136a0656e4baeeb7b69 (diff)
downloadgawk-bd2fc195fd0e10d989b14c01e57baace5a344ad1.tar.gz
Fix a warning on tcc.
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/awkgram.y b/awkgram.y
index f78fe470..4017b9b4 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -1154,7 +1154,7 @@ simple_stmt
if ($3 != NULL) {
NODE *n = $3->nexti->nexti->memory;
- if ((n->flags & (STRING|STRCUR)) != 0 || ! iszero(n))
+ if ((n->flags & (STRING|STRCUR)) != 0 || ! is_zero(n))
goto regular_print;
bcfree($3->lasti); /* Op_field_spec */
@@ -2399,7 +2399,7 @@ negate_num(NODE *n)
#ifdef HAVE_MPFR
if (is_mpg_integer(n)) {
- if (! iszero(n)) {
+ if (! is_zero(n)) {
mpz_neg(n->mpg_i, n->mpg_i);
return;
}