diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2007-10-23 22:17:45 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2007-10-23 22:17:45 +0000 |
commit | 0dff6e3fa95ea13f6ee6cb2d4277e83076d81bad (patch) | |
tree | aaf9a4fcab39c9dba0c4dc7457a79fc0d327cf4c /src/arch | |
parent | 643eee07541f10fcc3b34a56dc8bf2cf8d93c649 (diff) |
fix a whole bunch of warnings. (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2890 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/i386/boot/linuxbios_table.c | 2 | ||||
-rw-r--r-- | src/arch/i386/boot/tables.c | 1 |
2 files changed, 2 insertions, 1 deletions
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 <arch/pirq_routing.h> #include <arch/smp/mpspec.h> #include <arch/acpi.h> +#include <string.h> #include "linuxbios_table.h" // Global Descriptor Table, defined in c_start.S |