diff options
author | Roland McGrath <roland@redhat.com> | 1993-01-13 21:23:01 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1993-01-13 21:23:01 +0000 |
commit | 5c44db1b5f8c506cc083c9ea67db7cae823d27f4 (patch) | |
tree | 2a9f40cc1fe2e00e859e610b6b9a389d829fee8f | |
parent | f0c68224d6f92bfe0d3145155654dbf54ca29a3c (diff) | |
download | gunmake-5c44db1b5f8c506cc083c9ea67db7cae823d27f4.tar.gz |
Formerly misc.c.~22~
-rw-r--r-- | misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -308,7 +308,7 @@ char * xmalloc (size) unsigned int size; { - char *result = malloc (size); + char *result = (char *) malloc (size); if (result == 0) fatal ("virtual memory exhausted"); return result; @@ -320,7 +320,7 @@ xrealloc (ptr, size) char *ptr; unsigned int size; { - char *result = realloc (ptr, size); + char *result = (char *) realloc (ptr, size); if (result == 0) fatal ("virtual memory exhausted"); return result; |