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 /txr.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 'txr.c')
-rw-r--r-- | txr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ val spec_file_str; * pool, which sets an OOM flag. Program can check flag * and gracefully terminate instead of aborting like this. */ -static void *oom_realloc_handler(void *old, size_t size) +static mem_t *oom_realloc_handler(mem_t *old, size_t size) { format(std_error, lit("~a: out of memory\n"), prog_string, nao); put_line(std_error, lit("false")); |