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 a38562cd..e5b3b400 100644
--- a/str_array.c
+++ b/str_array.c
@@ -378,12 +378,12 @@ str_list(NODE *symbol, NODE *t)
for (b = symbol->buckets[i]; b != NULL; b = b->ahnext) {
/* index */
subs = b->ahname;
- if (assoc_kind & AINUM)
+ if ((assoc_kind & AINUM) != 0)
(void) force_number(subs);
list[k++] = dupnode(subs);
/* value */
- if (assoc_kind & AVALUE) {
+ if ((assoc_kind & AVALUE) != 0) {
val = b->ahvalue;
if (val->type == Node_val) {
if ((assoc_kind & AVNUM) != 0)