diff options
Diffstat (limited to 'regex.c')
-rw-r--r-- | regex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1157,7 +1157,7 @@ val regex_compile(val regex_sexp) { nfa_t *pnfa = (nfa_t *) chk_malloc(sizeof *pnfa); *pnfa = nfa_compile_regex(regex_sexp); - return cobj(pnfa, regex_s, ®ex_obj_ops); + return cobj((mem_t *) pnfa, regex_s, ®ex_obj_ops); } val regexp(val obj) |