[syslinux:master] hdt: Using void pointer to display acpi tables

syslinux-bot for Erwan Velu erwanaliasr1 at gmail.com
Sun Feb 6 14:07:34 PST 2011


Commit-ID:  a91be03264cb2656ea4680bd87b3d886acbd5da9
Gitweb:     http://syslinux.zytor.com/commit/a91be03264cb2656ea4680bd87b3d886acbd5da9
Author:     Erwan Velu <erwanaliasr1 at gmail.com>
AuthorDate: Wed, 26 Jan 2011 22:13:11 +0100
Committer:  Erwan Velu <erwanaliasr1 at gmail.com>
CommitDate: Wed, 26 Jan 2011 22:13:11 +0100

hdt: Using void pointer to display acpi tables

Void pointer is prefered and more generic as we have several sorts of
pointer address.


---
 com32/hdt/hdt-cli-acpi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/com32/hdt/hdt-cli-acpi.c b/com32/hdt/hdt-cli-acpi.c
index 17ec306..17e9edd 100644
--- a/com32/hdt/hdt-cli-acpi.c
+++ b/com32/hdt/hdt-cli-acpi.c
@@ -35,7 +35,7 @@
 #include <acpi/acpi.h>
 
 /* Print ACPI's table header in a defined formating */
-static void show_header(uint8_t *address, s_acpi_description_header * h)
+static void show_header(void *address, s_acpi_description_header * h)
 {
     more_printf("%-4s v%03x %-6s %-7s 0x%08x %-4s    0x%08x @ 0x%p\n",
 		h->signature, h->revision, h->oem_id, h->oem_table_id,



More information about the Syslinux-commits mailing list