aboutsummaryrefslogtreecommitdiffstats
path: root/field.c
diff options
context:
space:
mode:
Diffstat (limited to 'field.c')
-rw-r--r--field.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/field.c b/field.c
index 6a9516d0..892818f7 100644
--- a/field.c
+++ b/field.c
@@ -216,7 +216,7 @@ rebuild_record()
}
} else {
*n = *r;
- n->flags &= ~(MALLOC|STRING);
+ n->flags &= ~MALLOC;
}
n->stptr = cops;
@@ -288,7 +288,7 @@ set_record(const char *buf, int cnt)
n->stlen = cnt;
n->valref = 1;
n->type = Node_val;
- n->stfmt = -1;
+ n->stfmt = STFMT_UNUSED;
n->flags = (STRING|STRCUR|MAYBE_NUM|FIELD);
fields_arr[0] = n;