diff options
author | Pedro Alves <palves@redhat.com> | 2015-10-29 15:25:00 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-10-29 17:33:27 +0000 |
commit | fa4c39cb5139e3fcd27bb486a6331297e343d248 (patch) | |
tree | 50474b1a89a3a2a03e3f6f48131a7bc4a91e39ed /gdb/guile | |
parent | e681cf3fe50d3c8d17dabde079bbd949a59ef53a (diff) | |
download | fsf-binutils-gdb-fa4c39cb5139e3fcd27bb486a6331297e343d248.zip fsf-binutils-gdb-fa4c39cb5139e3fcd27bb486a6331297e343d248.tar.gz fsf-binutils-gdb-fa4c39cb5139e3fcd27bb486a6331297e343d248.tar.bz2 |
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.
Diffstat (limited to 'gdb/guile')
-rw-r--r-- | gdb/guile/scm-frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |