This commit is contained in:
jl777
2019-02-02 04:39:26 -11:00
parent 046de18981
commit 46b235b2cc
3 changed files with 5 additions and 5 deletions

View File

@@ -100,7 +100,7 @@ new_item(void)
THING *item;
#ifdef MASTER
if ((item = calloc(1, sizeof *item)) == NULL)
if ((item = (THING *)calloc(1, sizeof *item)) == NULL)
msg(rs,"ran out of memory after %d items", total);
else
total++;