diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2020-04-19 08:51:47 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2020-04-19 08:51:47 -0400 |
commit | 2f506168a138b524e4177e13d7e825503580f3ad (patch) | |
tree | 1bbbd7295eb4bc6c4c1eae3dbe80ebd904d0cf0c /variable.c | |
parent | a93654c1de7ba3c6fab729dff97ea4bdbb989179 (diff) |
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,7 +43,7 @@ variable *make_vars(variable *v, const char *s) v->tmp = 1; } v->type = STRING; - v->value.p = (uint32_t)strclone(s); + v->value.p = (size_t)strclone(s); return v; } @@ -53,7 +53,7 @@ variable *varclone(variable *n) v->tmp = 1; v->type = n->type; if (n->type == STRING) - v->value.p = (uint32_t)strclone((char *)n->value.p); + v->value.p = (size_t)strclone((char *)n->value.p); else v->value.p = n->value.p; return v; |