]> git.eshelyaron.com Git - emacs.git/commitdiff
* callproc.c: conform to C89 pointer rules
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 7 Feb 2011 05:06:59 +0000 (21:06 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 7 Feb 2011 05:06:59 +0000 (21:06 -0800)
src/ChangeLog
src/callproc.c

index c061fc53b945f68459bcc7d48fff4fa9b23748dc..eeaa5a24ae6769cb86d9319431ca51ef8faa7fb3 100644 (file)
@@ -23,6 +23,7 @@
        * lread.c (read1, hash_string): Likewise.
        * process.c (read_process_output, send_process, Fprocess_send_region):
        Likewise.
+       * callproc.c (Fcall_process): Likewise.
 
 2011-02-06  Paul Eggert  <eggert@cs.ucla.edu>
 
index 09d0ca5b42c8378723166235717440befde71d41..925eefb4b02c55cc854f6dd7144e547dca186f65 100644 (file)
@@ -696,8 +696,8 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS)  */)
                   faithfully reflect inserted text until we
                   TEMP_SET_PT_BOTH below.  */
                specbind (Qinhibit_modification_hooks, Qt);
-               decode_coding_c_string (&process_coding, buf, nread,
-                                       curbuf);
+               decode_coding_c_string (&process_coding, (unsigned char *) buf,
+                                       nread, curbuf);
                unbind_to (count1, Qnil);
                if (display_on_the_fly
                    && CODING_REQUIRE_DETECTION (&saved_coding)