* print.c (Fredirect_debugging_output): Fix pointer signedess.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Mar 2011 21:28:29 +0000 (14:28 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Mar 2011 21:28:29 +0000 (14:28 -0700)
src/ChangeLog
src/print.c

index 5f02fa1..690a585 100644 (file)
@@ -1,5 +1,7 @@
 2011-03-16  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * print.c (Fredirect_debugging_output): Fix pointer signedess.
+
        * lisp.h (debug_output_compilation_hack): Add decl here, to avoid
        warning when compiling print.c.
 
index 29a4bfa..b2e5965 100644 (file)
@@ -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;