From d4d7173a912c261de01021649468f06df1b1a5a3 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 16 Mar 2011 14:28:29 -0700 Subject: [PATCH] * print.c (Fredirect_debugging_output): Fix pointer signedess. --- src/ChangeLog | 2 ++ src/print.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.2