diff src/frame-x.c @ 76:c0c698873ce1 r20-0b33

Import from CVS: tag r20-0b33
author cvs
date Mon, 13 Aug 2007 09:05:10 +0200
parents 131b0175ea99
children a145efe76779
line wrap: on
line diff
--- a/src/frame-x.c	Mon Aug 13 09:04:39 2007 +0200
+++ b/src/frame-x.c	Mon Aug 13 09:05:10 2007 +0200
@@ -1122,7 +1122,7 @@
 	{
 	  filePath = transferInfo->dropData->data.files[ii];
           /* ### Mule-izing required */
-	  path = make_string (filePath, strlen (filePath));
+	  path = make_string ((Bufbyte *)filePath, strlen (filePath));
 	  va_run_hook_with_args (Qdrag_and_drop_functions, 2, frame, path);
 	}
     }
@@ -1137,9 +1137,9 @@
  	  filePath = transferInfo->dropData->data.buffers[ii].name;
 	  /* ### Mule-izing required */
  	  path = (filePath == NULL) ? Qnil
-	    : make_string (filePath, strlen (filePath));
+	    : make_string ((Bufbyte *)filePath, strlen (filePath));
  	  buf = transferInfo->dropData->data.buffers[ii].bp;
- 	  data = make_string(buf,
+ 	  data = make_string((Bufbyte *)buf,
  			     transferInfo->dropData->data.buffers[ii].size);
  	  va_run_hook_with_args(Qdrag_and_drop_functions, 3, frame, path,
  				data);