diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2009-11-19 10:21:05 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2009-11-19 10:21:05 -0800 |
commit | 6fc929b1384a97dd7922af731667dd2539819a49 (patch) | |
tree | 0d432d42c051affb68a7344b660056052c12da1f /lib.h | |
parent | 61abd16ff59debebdacfe0de5050070b5dde46ee (diff) | |
download | txr-6fc929b1384a97dd7922af731667dd2539819a49.tar.gz txr-6fc929b1384a97dd7922af731667dd2539819a49.tar.bz2 txr-6fc929b1384a97dd7922af731667dd2539819a49.zip |
Use unsigned char * as allocator return value.
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -222,8 +222,8 @@ obj_t *none_satisfy(obj_t *list, obj_t *pred, obj_t *key); long c_num(obj_t *num); obj_t *nump(obj_t *num); obj_t *equal(obj_t *left, obj_t *right); -char *chk_malloc(size_t size); -char *chk_realloc(void *, size_t size); +unsigned char *chk_malloc(size_t size); +unsigned char *chk_realloc(void *, size_t size); wchar_t *chk_strdup(const wchar_t *str); obj_t *cons(obj_t *car, obj_t *cdr); obj_t *list(obj_t *first, ...); /* terminated by nao */ |