diff options
Diffstat (limited to 'rcfile_y.y')
-rw-r--r-- | rcfile_y.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -573,7 +573,7 @@ char *prependdir (const char *file, const char *dir) strcmp(file, "-") == 0 || /* stdin/stdout */ !dir[0]) /* we don't HAVE_GETCWD */ return xstrdup (file); - newfile = xmalloc (strlen (dir) + 1 + strlen (file) + 1); + newfile = (char *)xmalloc (strlen (dir) + 1 + strlen (file) + 1); if (dir[strlen(dir) - 1] != '/') sprintf (newfile, "%s/%s", dir, file); else |