diff options
Diffstat (limited to 'source/include/actypes.h')
-rw-r--r-- | source/include/actypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/include/actypes.h b/source/include/actypes.h index 8486d2b98..77fa92123 100644 --- a/source/include/actypes.h +++ b/source/include/actypes.h @@ -649,7 +649,7 @@ typedef UINT64 ACPI_INTEGER; /* Pointer manipulation */ -#define ACPI_CAST_PTR(t, p) ((t *) (ACPI_UINTPTR_T) (void *) (p)) +#define ACPI_CAST_PTR(t, p) ((t *) (ACPI_UINTPTR_T) (p)) #define ACPI_CAST_INDIRECT_PTR(t, p) ((t **) (ACPI_UINTPTR_T) (p)) #define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (UINT8, (a)) + (ACPI_SIZE)(b))) #define ACPI_SUB_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (UINT8, (a)) - (ACPI_SIZE)(b))) |