From: Michael Snyder Date: Sat, 28 Jul 2007 01:16:39 +0000 (+0000) Subject: 2007-07-27 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fed8b01e54f63ee71bcc44f6e1122432422c84df;p=binutils-gdb.git 2007-07-27 Michael Snyder * tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9bf43680e09..b27556469fe 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-07-27 Michael Snyder + + * tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof. + 2007-07-26 Maciej W. Rozycki * MAINTAINERS (Write After Approval): Add myself. diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c index aefa000120b..40726c5d82c 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;