summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-01-13 21:23:01 +0000
committerRoland McGrath <roland@redhat.com>1993-01-13 21:23:01 +0000
commit5c44db1b5f8c506cc083c9ea67db7cae823d27f4 (patch)
tree2a9f40cc1fe2e00e859e610b6b9a389d829fee8f /misc.c
parentf0c68224d6f92bfe0d3145155654dbf54ca29a3c (diff)
downloadgunmake-5c44db1b5f8c506cc083c9ea67db7cae823d27f4.tar.gz
Formerly misc.c.~22~
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.c b/misc.c
index 3904410..8b7fcb0 100644
--- a/misc.c
+++ b/misc.c
@@ -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;