* elflink.c (_bfd_elf_link_assign_sym_version): Improve error
[deliverable/binutils-gdb.git] / libiberty / lrealpath.c
index 9a58c0b83b82c9fe1ac6fb4eca0a5a6ecb3d10fc..b27c8de990e974c7294dfc4024ef44fbd3844a52 100644 (file)
@@ -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);
This page took 0.023461 seconds and 4 git commands to generate.