diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2009-12-04 12:35:18 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2009-12-04 12:35:18 -0800 |
commit | bdfe648ad88513857c3f9ef670ac0cae47bd606c (patch) | |
tree | 2b77d74b4827a8ea81259f1a339af86342c7daef /regex.c | |
parent | 208f8a44f899460c182da8644a7cd982d18aade9 (diff) | |
download | txr-bdfe648ad88513857c3f9ef670ac0cae47bd606c.tar.gz txr-bdfe648ad88513857c3f9ef670ac0cae47bd606c.tar.bz2 txr-bdfe648ad88513857c3f9ef670ac0cae47bd606c.zip |
Eliminate the void * disease. Generic pointers are of mem_t *
from now on, which is compatible with unsigned char *.
No implicit conversion to or from this type, in C or C++.
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) |