aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-03-16 14:28:29 -0700
committerPaul Eggert2011-03-16 14:28:29 -0700
commitd4d7173a912c261de01021649468f06df1b1a5a3 (patch)
treece1e59cb3b7db57df65a8236b2e12ac7339e7926 /src
parentf08b802adcfe721e35de22ab868149d66c28c7f6 (diff)
downloademacs-d4d7173a912c261de01021649468f06df1b1a5a3.tar.gz
emacs-d4d7173a912c261de01021649468f06df1b1a5a3.zip
* print.c (Fredirect_debugging_output): Fix pointer signedess.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/print.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 5f02fa1188d..690a585b641 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12011-03-16 Paul Eggert <eggert@cs.ucla.edu> 12011-03-16 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * print.c (Fredirect_debugging_output): Fix pointer signedess.
4
3 * lisp.h (debug_output_compilation_hack): Add decl here, to avoid 5 * lisp.h (debug_output_compilation_hack): Add decl here, to avoid
4 warning when compiling print.c. 6 warning when compiling print.c.
5 7
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. */)
854 { 854 {
855 file = Fexpand_file_name (file, Qnil); 855 file = Fexpand_file_name (file, Qnil);
856 initial_stderr_stream = stderr; 856 initial_stderr_stream = stderr;
857 stderr = fopen (SDATA (file), NILP (append) ? "w" : "a"); 857 stderr = fopen (SSDATA (file), NILP (append) ? "w" : "a");
858 if (stderr == NULL) 858 if (stderr == NULL)
859 { 859 {
860 stderr = initial_stderr_stream; 860 stderr = initial_stderr_stream;