diff options
author | jkim <jkim@FreeBSD.org> | 2005-11-01 22:30:52 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2005-11-01 22:30:52 +0000 |
commit | 727bb7982d75dc9728aa979862c688a05a057265 (patch) | |
tree | 996d57bb6f1af4d5b6fa495ace632a9da9d0b195 /sys/contrib/dev/acpica/utdebug.c | |
parent | 3f99461a390b540b5e2f843e69e7435368262f8f (diff) | |
download | FreeBSD-src-727bb7982d75dc9728aa979862c688a05a057265.zip FreeBSD-src-727bb7982d75dc9728aa979862c688a05a057265.tar.gz |
Local change: remove compilation warnings
Diffstat (limited to 'sys/contrib/dev/acpica/utdebug.c')
-rw-r--r-- | sys/contrib/dev/acpica/utdebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/contrib/dev/acpica/utdebug.c b/sys/contrib/dev/acpica/utdebug.c index 7d78a4c..8846140 100644 --- a/sys/contrib/dev/acpica/utdebug.c +++ b/sys/contrib/dev/acpica/utdebug.c @@ -212,14 +212,14 @@ AcpiUtTrimFunctionName ( /* All Function names are longer than 4 chars, check is safe */ - if (*(ACPI_CAST_PTR (UINT32, FunctionName)) == ACPI_PREFIX_MIXED) + if (*((UINT32 *) (uintptr_t) FunctionName) == ACPI_PREFIX_MIXED) { /* This is the case where the original source has not been modified */ return (FunctionName + 4); } - if (*(ACPI_CAST_PTR (UINT32, FunctionName)) == ACPI_PREFIX_LOWER) + if (*((UINT32 *) (uintptr_t) FunctionName) == ACPI_PREFIX_LOWER) { /* This is the case where the source has been 'linuxized' */ |