diff options
author | DJ Delorie <dj@delorie.com> | 2005-05-24 21:01:33 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2005-05-24 21:01:33 +0000 |
commit | 89c7f9932583efbe420b89437971da682e520b83 (patch) | |
tree | d9e972beaab164455b65b67ffd2ca21264c75bd5 /libiberty/lrealpath.c | |
parent | 85805b4389018d6ff9416825b7830d3d807ab34e (diff) | |
download | gdb-89c7f9932583efbe420b89437971da682e520b83.tar.gz |
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); |