diff options
Diffstat (limited to 'gdb/tui/tui-layout.c')
-rw-r--r-- | gdb/tui/tui-layout.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/tui/tui-layout.c b/gdb/tui/tui-layout.c index 56cc026..6547404 100644 --- a/gdb/tui/tui-layout.c +++ b/gdb/tui/tui-layout.c @@ -616,7 +616,7 @@ tui_layout_command (char *arg, int from_tty) static enum tui_layout_type next_layout (void) { - enum tui_layout_type new_layout; + int new_layout; new_layout = tui_current_layout (); if (new_layout == UNDEFINED_LAYOUT) @@ -628,7 +628,7 @@ next_layout (void) new_layout = SRC_COMMAND; } - return new_layout; + return (enum tui_layout_type) new_layout; } @@ -636,7 +636,7 @@ next_layout (void) static enum tui_layout_type prev_layout (void) { - enum tui_layout_type new_layout; + int new_layout; new_layout = tui_current_layout (); if (new_layout == SRC_COMMAND) @@ -648,7 +648,7 @@ prev_layout (void) new_layout = DISASSEM_DATA_COMMAND; } - return new_layout; + return (enum tui_layout_type) new_layout; } |