2007-07-27 Michael Snyder <msnyder@access-company.com>

* tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof.
This commit is contained in:
Michael Snyder 2007-07-28 01:16:39 +00:00
parent 888107e419
commit fed8b01e54
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2007-07-27 Michael Snyder <msnyder@access-company.com>
* tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof.
2007-07-26 Maciej W. Rozycki <macro@linux-mips.org>
* MAINTAINERS (Write After Approval): Add myself.

View file

@ -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;