From: Paul Eggert Date: Mon, 7 Feb 2011 05:06:59 +0000 (-0800) Subject: * callproc.c: conform to C89 pointer rules X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~983 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0ca76b1eacbc5df387325d8711d3add68486909a;p=emacs.git * callproc.c: conform to C89 pointer rules --- diff --git a/src/ChangeLog b/src/ChangeLog index c061fc53b94..eeaa5a24ae6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 diff --git a/src/callproc.c b/src/callproc.c index 09d0ca5b42c..925eefb4b02 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -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)