diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2006-02-14 18:45:14 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2006-02-14 18:45:14 +0000 |
commit | 96c1eda247c7846f4bbd32d65db6819baefad08b (patch) | |
tree | 9bc74063c6c31a5947f17bf6da9c2b5c54d76434 /gdb/tui/tui-data.c | |
parent | 92dd43fa3bc92e0a97408eaa406143c41460581c (diff) | |
download | gdb-96c1eda247c7846f4bbd32d65db6819baefad08b.zip gdb-96c1eda247c7846f4bbd32d65db6819baefad08b.tar.gz gdb-96c1eda247c7846f4bbd32d65db6819baefad08b.tar.bz2 |
* doublest.h (DOUBLEST): Use long double only if we can scan
it in. Undefine HAVE_LONG_DOUBLE otherwise.
(DOUBLEST_FORMAT): New.
* c-exp.y (parse_number): Use it.
* jv-exp.y (parse_number): Likewise.
* objc-exp.y (parse_number): Likewise.
* p-exp.y (parse_number): Likewise.
* varobj.c (free_variable): Silence type-punning warnings.
* tui/tui-data.h (struct tui_list): Change type of list member.
* tui/tui-data.c: Remove no-longer-needed type casts.
(source_windows): Silence type-punning warnings.
* tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Likewise.
Diffstat (limited to 'gdb/tui/tui-data.c')
-rw-r--r-- | gdb/tui/tui-data.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c index 71c16f9..9ef342a 100644 --- a/gdb/tui/tui-data.c +++ b/gdb/tui/tui-data.c @@ -44,7 +44,7 @@ static int term_height, term_width; static struct tui_gen_win_info _locator; static struct tui_gen_win_info exec_info[2]; static struct tui_win_info * src_win_list[2]; -static struct tui_list source_windows = {(void **) src_win_list, 0}; +static struct tui_list source_windows = {src_win_list, 0}; static int default_tab_len = DEFAULT_TAB_LEN; static struct tui_win_info * win_with_focus = (struct tui_win_info *) NULL; static struct tui_layout_def layout_def = @@ -182,7 +182,7 @@ tui_clear_source_windows_detail (void) int i; for (i = 0; i < (tui_source_windows ())->count; i++) - tui_clear_win_detail ((struct tui_win_info *) (tui_source_windows ())->list[i]); + tui_clear_win_detail ((tui_source_windows ())->list[i]); } @@ -782,7 +782,7 @@ tui_free_all_source_wins_content (void) for (i = 0; i < (tui_source_windows ())->count; i++) { - struct tui_win_info * win_info = (struct tui_win_info *) (tui_source_windows ())->list[i]; + struct tui_win_info * win_info = (tui_source_windows ())->list[i]; if (win_info != NULL) { |