aboutsummaryrefslogtreecommitdiffstats
path: root/str_array.c
diff options
context:
space:
mode:
Diffstat (limited to 'str_array.c')
-rw-r--r--str_array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/str_array.c b/str_array.c
index 1b3a33f1..db6031d4 100644
--- a/str_array.c
+++ b/str_array.c
@@ -370,12 +370,12 @@ str_list(NODE *symbol, NODE *t)
for (b = symbol->buckets[i]; b != NULL; b = b->ahnext) {
/* index */
subs = b->ahname;
- if (t->flags & AINUM)
+ if ((t->flags & AINUM) != 0)
(void) force_number(subs);
list[k++] = dupnode(subs);
/* value */
- if (t->flags & AVALUE) {
+ if ((t->flags & AVALUE) != 0) {
val = b->ahvalue;
if (val->type == Node_val) {
if ((t->flags & AVNUM) != 0)