From fa4c39cb5139e3fcd27bb486a6331297e343d248 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 29 Oct 2015 15:25:00 +0000 Subject: guile/: Add enum cast gdb/ChangeLog: 2015-10-29 Pedro Alves * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Add cast. --- gdb/guile/scm-frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/guile') diff --git a/gdb/guile/scm-frame.c b/gdb/guile/scm-frame.c index 24e26e8..55e0faf 100644 --- a/gdb/guile/scm-frame.c +++ b/gdb/guile/scm-frame.c @@ -1045,7 +1045,7 @@ gdbscm_unwind_stop_reason_string (SCM reason_scm) if (reason < UNWIND_FIRST || reason > UNWIND_LAST) scm_out_of_range (FUNC_NAME, reason_scm); - str = unwind_stop_reason_to_string (reason); + str = unwind_stop_reason_to_string ((enum unwind_stop_reason) reason); return gdbscm_scm_from_c_string (str); } -- cgit v1.1