aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-data.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2007-07-28 01:16:39 +0000
committerMichael Snyder <msnyder@vmware.com>2007-07-28 01:16:39 +0000
commitfed8b01e54f63ee71bcc44f6e1122432422c84df (patch)
tree77902af8efbcdb3214ea8c9765f3ce4d8a2a9789 /gdb/tui/tui-data.c
parent888107e41915a7677bf66d43e4643650c39d6764 (diff)
downloadgdb-fed8b01e54f63ee71bcc44f6e1122432422c84df.zip
gdb-fed8b01e54f63ee71bcc44f6e1122432422c84df.tar.gz
gdb-fed8b01e54f63ee71bcc44f6e1122432422c84df.tar.bz2
2007-07-27 Michael Snyder <msnyder@access-company.com>
* tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof.
Diffstat (limited to 'gdb/tui/tui-data.c')
-rw-r--r--gdb/tui/tui-data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c
index aefa000..40726c5 100644
--- a/gdb/tui/tui-data.c
+++ b/gdb/tui/tui-data.c
@@ -450,7 +450,7 @@ tui_alloc_generic_win_info (void)
struct tui_gen_win_info * win;
if ((win = (struct tui_gen_win_info *) xmalloc (
- sizeof (struct tui_gen_win_info *))) != (struct tui_gen_win_info *) NULL)
+ sizeof (struct tui_gen_win_info))) != (struct tui_gen_win_info *) NULL)
tui_init_generic_part (win);
return win;