git: 2bb6e35f3b9f - stable/14 - acpidump: silent the warning about unaligned uuid

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Fri, 12 Apr 2024 01:18:40 UTC
The branch stable/14 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=2bb6e35f3b9fb898ea2c4abf339cf89dc8f516f4

commit 2bb6e35f3b9fb898ea2c4abf339cf89dc8f516f4
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-04-03 02:58:28 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-04-12 01:18:32 +0000

    acpidump: silent the warning about unaligned uuid
    
    (cherry picked from commit de937ecb75ed4d61fc06dd380f9bf6be998502e9)
---
 usr.sbin/acpi/acpidump/acpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/acpi/acpidump/acpi.c b/usr.sbin/acpi/acpidump/acpi.c
index 3ebfefcc591f..c851e97e9e37 100644
--- a/usr.sbin/acpi/acpidump/acpi.c
+++ b/usr.sbin/acpi/acpidump/acpi.c
@@ -1596,7 +1596,7 @@ acpi_print_nfit(ACPI_NFIT_HEADER *nfit)
 		printf("\tRangeIndex=%u\n", (u_int)sysaddr->RangeIndex);
 		printf("\tProximityDomain=%u\n",
 		    (u_int)sysaddr->ProximityDomain);
-		uuid_to_string((uuid_t *)(sysaddr->RangeGuid),
+		uuid_to_string((uuid_t *)(uintptr_t)(sysaddr->RangeGuid),
 		    &uuidstr, &status);
 		if (status != uuid_s_ok)
 			errx(1, "uuid_to_string: status=%u", status);