diff options
Diffstat (limited to 'gas/xmalloc.c')
-rw-r--r-- | gas/xmalloc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/xmalloc.c b/gas/xmalloc.c index 8b39ee5..bdf083d 100644 --- a/gas/xmalloc.c +++ b/gas/xmalloc.c @@ -45,11 +45,11 @@ #define error as_fatal -char * +PTR xmalloc (n) unsigned long n; { - char *retval; + PTR retval; retval = malloc (n); if (retval == NULL) @@ -57,9 +57,9 @@ xmalloc (n) return (retval); } -char * +PTR xrealloc (ptr, n) - register char *ptr; + register PTR ptr; unsigned long n; { ptr = realloc (ptr, n); |