Automatic date update in version.in
[deliverable/binutils-gdb.git] / libiberty / lrealpath.c
index 9a58c0b83b82c9fe1ac6fb4eca0a5a6ecb3d10fc..7f66dc2b1bd26c41821d409a95f93e216677923d 100644 (file)
@@ -1,7 +1,7 @@
 /* Libiberty realpath.  Like realpath, but more consistent behavior.
    Based on gdb_realpath from GDB.
 
-   Copyright 2003 Free Software Foundation, Inc.
+   Copyright (C) 2003-2019 Free Software Foundation, Inc.
 
    This file is part of the libiberty library.
 
@@ -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.028509 seconds and 4 git commands to generate.