summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/struct.c b/struct.c
index 24d65363..040b43be 100644
--- a/struct.c
+++ b/struct.c
@@ -224,7 +224,7 @@ val make_struct_type(val name, val super,
val id = num_fast(++struct_id_counter);
val iter;
cnum sl, stsl;
- val nullptr = 0;
+ val null_ptr = 0;
st->name = name;
st->id = c_num(id);
@@ -262,7 +262,7 @@ val make_struct_type(val name, val super,
stsl -= STATIC_SLOT_BASE;
st->stslot = coerce(val *, chk_manage_vec(0, 0, stsl, sizeof (val),
- coerce(mem_t *, &nullptr)));
+ coerce(mem_t *, &null_ptr)));
st->nslots = sl;
st->nstslots = stsl;