binutils-gdb/gdb/tui
Tom Tromey 431b3eadc4 Don't cast a tui_win_info directly to tui_gen_win_info
I found a few spots that directly cast a tui_win_info to a
tui_gen_win_info.  However, I think it's a bit better here to take the
address of the "generic" member.  As far as I know, nothing relies on
being able to downcast here, so this gives us the freedom to rearrange
the structure.

gdb/ChangeLog
2019-06-16  Tom Tromey  <tom@tromey.com>

	* tui/tui-wingeneral.c (tui_unhighlight_win, tui_highlight_win)
	(make_all_visible): Use address of member.
2019-06-16 14:10:25 -06:00
..
ChangeLog-1998-2003
tui-command.c
tui-command.h
tui-data.c Remove more unnecessary casts of NULL 2019-06-16 13:51:04 -06:00
tui-data.h
tui-disasm.c
tui-disasm.h
tui-file.c
tui-file.h
tui-hooks.c
tui-hooks.h
tui-interp.c
tui-io.c
tui-io.h
tui-layout.c
tui-layout.h
tui-out.c
tui-out.h
tui-regs.c Remove more unnecessary casts of NULL 2019-06-16 13:51:04 -06:00
tui-regs.h
tui-source.c
tui-source.h
tui-stack.c
tui-stack.h
tui-win.c
tui-win.h
tui-windata.c Remove more unnecessary casts of NULL 2019-06-16 13:51:04 -06:00
tui-windata.h
tui-wingeneral.c Don't cast a tui_win_info directly to tui_gen_win_info 2019-06-16 14:10:25 -06:00
tui-wingeneral.h
tui-winsource.c
tui-winsource.h
tui.c
tui.h