From 0dff6e3fa95ea13f6ee6cb2d4277e83076d81bad Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 23 Oct 2007 22:17:45 +0000 Subject: fix a whole bunch of warnings. (trivial) Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2890 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/boot/linuxbios_table.c | 2 +- src/arch/i386/boot/tables.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/arch/i386/boot') diff --git a/src/arch/i386/boot/linuxbios_table.c b/src/arch/i386/boot/linuxbios_table.c index 9074d11685..e32d2467a9 100644 --- a/src/arch/i386/boot/linuxbios_table.c +++ b/src/arch/i386/boot/linuxbios_table.c @@ -120,7 +120,7 @@ void lb_strings(struct lb_header *header) { static const struct { uint32_t tag; - const uint8_t *string; + const char *string; } strings[] = { { LB_TAG_VERSION, linuxbios_version, }, { LB_TAG_EXTRA_VERSION, linuxbios_extra_version, }, diff --git a/src/arch/i386/boot/tables.c b/src/arch/i386/boot/tables.c index 79ddd07ee0..29fcc13da4 100644 --- a/src/arch/i386/boot/tables.c +++ b/src/arch/i386/boot/tables.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "linuxbios_table.h" // Global Descriptor Table, defined in c_start.S -- cgit v1.2.3