diff src/emacs.c @ 321:19dcec799385 r21-0-58

Import from CVS: tag r21-0-58
author cvs
date Mon, 13 Aug 2007 10:46:44 +0200
parents 341dac730539
children 54f7aa390f4f
line wrap: on
line diff
--- a/src/emacs.c	Mon Aug 13 10:46:01 2007 +0200
+++ b/src/emacs.c	Mon Aug 13 10:46:44 2007 +0200
@@ -2520,7 +2520,7 @@
 
   GET_C_CHARPTR_INT_FILENAME_DATA_ALLOCA (path, newpath);
 
-  len = strlen (newpath);
+  len = strlen ((const char *) newpath);
   /* #### Does this make sense?  It certainly does for
      decode_env_path(), but it looks dubious here.  Does any code
      depend on decode_path("") returning nil instead of an empty