changeset 21853:6e93713b7d30

(find_handler_clause): Cast Fbacktrace to proper type.
author Richard M. Stallman <rms@gnu.org>
date Thu, 30 Apr 1998 03:13:09 +0000
parents 5898cd2e4cd6
children 67719e401cce
files src/eval.c
diffstat 1 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c	Thu Apr 30 00:05:06 1998 +0000
+++ b/src/eval.c	Thu Apr 30 03:13:09 1998 +0000
@@ -1398,7 +1398,16 @@
 	}
 
       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))