From df77f345e734e3a16548126ed0542615b6144ab6 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 6 Apr 2009 14:00:53 +0000 Subject: (trivial) fix some warnings Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4076 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/boot/coreboot_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/i386/boot/coreboot_table.c') diff --git a/src/arch/i386/boot/coreboot_table.c b/src/arch/i386/boot/coreboot_table.c index 032a0f3264..aa665c2520 100644 --- a/src/arch/i386/boot/coreboot_table.c +++ b/src/arch/i386/boot/coreboot_table.c @@ -204,7 +204,7 @@ struct lb_forward *lb_forward(struct lb_header *header, struct lb_header *next_h forward = (struct lb_forward *)rec; forward->tag = LB_TAG_FORWARD; forward->size = sizeof(*forward); - forward->forward = (uint64_t) next_header; + forward->forward = (uint64_t)(unsigned long)next_header; return forward; } -- cgit v1.2.3