From: Paul Eggert Date: Wed, 16 Mar 2011 21:28:29 +0000 (-0700) Subject: * print.c (Fredirect_debugging_output): Fix pointer signedess. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~554^2~18 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d4d7173a912c261de01021649468f06df1b1a5a3;p=emacs.git * print.c (Fredirect_debugging_output): Fix pointer signedess. --- diff --git a/src/ChangeLog b/src/ChangeLog index 5f02fa1188d..690a585b641 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-03-16 Paul Eggert + * print.c (Fredirect_debugging_output): Fix pointer signedess. + * lisp.h (debug_output_compilation_hack): Add decl here, to avoid warning when compiling print.c. diff --git a/src/print.c b/src/print.c index 29a4bfab790..b2e5965cd1c 100644 --- a/src/print.c +++ b/src/print.c @@ -854,7 +854,7 @@ append to existing target file. */) { file = Fexpand_file_name (file, Qnil); initial_stderr_stream = stderr; - stderr = fopen (SDATA (file), NILP (append) ? "w" : "a"); + stderr = fopen (SSDATA (file), NILP (append) ? "w" : "a"); if (stderr == NULL) { stderr = initial_stderr_stream;