OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR c++/27668
[pf3gnuchains/gcc-fork.git]
/
libiberty
/
lrealpath.c
diff --git
a/libiberty/lrealpath.c
b/libiberty/lrealpath.c
index
9a58c0b
..
b27c8de
100644
(file)
--- 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);