Simple fix for a simple warning.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@236 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Uwe Hermann 2007-03-10 17:28:17 +00:00
commit 0f9ac8eb8b

View file

@ -64,8 +64,8 @@ void stage1_main(u32 bist)
int elfboot_mem(struct lb_memory *mem, void *where, int size);
/* we can't statically init this hack. */
unsigned char *faker[64];
struct lb_memory *mem = (struct lb_memory*) &faker;
unsigned char faker[64];
struct lb_memory *mem = (struct lb_memory*) faker;
mem->tag = LB_TAG_MEMORY;
mem->size = 28;