]> git.eshelyaron.com Git - emacs.git/commitdiff
(find_handler_clause): Cast Fbacktrace to proper type.
authorRichard M. Stallman <rms@gnu.org>
Thu, 30 Apr 1998 03:13:09 +0000 (03:13 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 30 Apr 1998 03:13:09 +0000 (03:13 +0000)
src/eval.c

index 1b481663f3de1daba5700cee7f2c43fcd7f76612..7790b6638f27666f2b6dd8ce392ccf49ea9fcbbf 100644 (file)
@@ -1398,7 +1398,16 @@ find_handler_clause (handlers, conditions, sig, data, debugger_value_ptr)
        }
 
       if (wants_debugger (Vstack_trace_on_error, conditions))
-       internal_with_output_to_temp_buffer ("*Backtrace*", Fbacktrace, Qnil);
+       {
+#ifdef __STDC__
+         internal_with_output_to_temp_buffer ("*Backtrace*",
+                                              (Lisp_Object (*) (Lisp_Object)) Fbacktrace,
+                                              Qnil);
+#else
+         internal_with_output_to_temp_buffer ("*Backtrace*",
+                                              Fbacktrace, Qnil);
+#endif
+       }
       if ((EQ (sig_symbol, Qquit)
           ? debug_on_quit
           : wants_debugger (Vdebug_on_error, conditions))