Fix cast in TUI_DISASM_WIN
authorTom Tromey <tom@tromey.com>
Sat, 22 Feb 2020 18:48:26 +0000 (11:48 -0700)
committerTom Tromey <tom@tromey.com>
Sat, 22 Feb 2020 19:57:25 +0000 (12:57 -0700)
commit3b0fb49e305511c0f68d588bb8cf1a250ecd76f9
tree08bc9c26ba566f3d8f42b130447f6e1986fe888d
parent283be8bfa4c19c60f81abbbb43e41b6ccfdff4a9
Fix cast in TUI_DISASM_WIN

I noticed that the TUI_DISASM_WIN macro cast the disassembly window to
a base type, rather than its correct type.  This patch fixes this
oversight.

2020-02-22  Tom Tromey  <tom@tromey.com>

* tui/tui-data.h (TUI_DISASM_WIN): Cast to tui_disasm_window.

Change-Id: Ied3dbac9ef3dc48ceb9e0850fe4ada3c316dd769
gdb/ChangeLog
gdb/tui/tui-data.h