diff options
author | DJ Delorie <dj@redhat.com> | 2005-05-24 21:01:33 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-05-24 21:01:33 +0000 |
commit | abf6a75b428517d9caaf9155212b0b10e0379a99 (patch) | |
tree | 3476694dba1d2c731deb2a131b0d8d6c5dcb0cd3 /libiberty/lrealpath.c | |
parent | * s390-tdep.c (s390_frame_prev_register): Change type of last (diff) | |
download | binutils-gdb-abf6a75b428517d9caaf9155212b0b10e0379a99.tar.gz binutils-gdb-abf6a75b428517d9caaf9155212b0b10e0379a99.tar.bz2 binutils-gdb-abf6a75b428517d9caaf9155212b0b10e0379a99.zip |
merge from gcc
Diffstat (limited to 'libiberty/lrealpath.c')
-rw-r--r-- | libiberty/lrealpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/lrealpath.c b/libiberty/lrealpath.c index 9a58c0b83b8..b27c8de990e 100644 --- a/libiberty/lrealpath.c +++ b/libiberty/lrealpath.c @@ -117,7 +117,7 @@ lrealpath (const char *filename) { /* PATH_MAX is bounded. */ char *buf, *rp, *ret; - buf = malloc (path_max); + buf = (char *) malloc (path_max); if (buf == NULL) return NULL; rp = realpath (filename, buf); |