guile/: Add enum cast

gdb/ChangeLog:
2015-10-29  Pedro Alves  <palves@redhat.com>

	* guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Add cast.
This commit is contained in:
Pedro Alves 2015-10-29 15:25:00 +00:00
parent e681cf3fe5
commit fa4c39cb51
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-10-29 Pedro Alves <palves@redhat.com>
* guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Add cast.
2015-10-29 Eli Zaretskii <eliz@gnu.org>
* utils.c (init_page_info): Disable paging if INSIDE_EMACS is set

View File

@ -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);
}