Cast ACPI UINT32* to uint32* to avoid warning on 32 bit builds.

This commit is contained in:
Fredrik Holmqvist 2017-02-21 19:27:13 +01:00
parent 95c239a3fb
commit f18e21a832

View File

@ -165,11 +165,11 @@ extern int AcpiOsAcquireGlobalLock(uint32 *lock);
extern int AcpiOsReleaseGlobalLock(uint32 *lock);
#define ACPI_ACQUIRE_GLOBAL_LOCK(GLptr, Acq) do { \
(Acq) = AcpiOsAcquireGlobalLock(&((GLptr)->GlobalLock)); \
(Acq) = AcpiOsAcquireGlobalLock((uint32 *)&((GLptr)->GlobalLock)); \
} while (0)
#define ACPI_RELEASE_GLOBAL_LOCK(GLptr, Acq) do { \
(Acq) = AcpiOsReleaseGlobalLock(&((GLptr)->GlobalLock)); \
(Acq) = AcpiOsReleaseGlobalLock((uint32 *)&((GLptr)->GlobalLock)); \
} while (0)
#else /* _KERNEL_MODE */