From abf6a75b428517d9caaf9155212b0b10e0379a99 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 24 May 2005 21:01:33 +0000 Subject: merge from gcc --- libiberty/lrealpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libiberty/lrealpath.c') diff --git a/libiberty/lrealpath.c b/libiberty/lrealpath.c index 9a58c0b83b..b27c8de990 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); -- cgit v1.2.3