From fed8b01e54f63ee71bcc44f6e1122432422c84df Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Sat, 28 Jul 2007 01:16:39 +0000 Subject: 2007-07-27 Michael Snyder * tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof. --- gdb/tui/tui-data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/tui') 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; -- cgit v1.1