diff src/dired.c @ 243:f220cc83d72e r20-5b20

Import from CVS: tag r20-5b20
author cvs
date Mon, 13 Aug 2007 10:17:07 +0200
parents 0e522484dd2a
children 727739f917cb
line wrap: on
line diff
--- a/src/dired.c	Mon Aug 13 10:16:17 2007 +0200
+++ b/src/dired.c	Mon Aug 13 10:17:07 2007 +0200
@@ -97,7 +97,7 @@
   name_as_dir = Ffile_name_as_directory (dirname);
 
   name_as_dir_length = XSTRING_LENGTH (name_as_dir);
-  statbuf = alloca (name_as_dir_length + MAXNAMLEN + 1);
+  statbuf = (char *) alloca (name_as_dir_length + MAXNAMLEN + 1);
   memcpy (statbuf, XSTRING_DATA (name_as_dir), name_as_dir_length);
   statbuf_tail = statbuf + name_as_dir_length;