git: a9f7074e858f - main - ahc(4): Fix a warning on i386 compilation

From: Olivier Certner <olce_at_FreeBSD.org>
Date: Wed, 28 Jan 2026 11:31:30 UTC
The branch main has been updated by olce:

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

commit a9f7074e858fd7c8e07c164fc365afc0d0077735
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-01-28 09:31:21 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-01-28 11:26:33 +0000

    ahc(4): Fix a warning on i386 compilation
    
    Fixes:          cd036e891a35 ("ahc_pci.c: If bus_dma...")
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
---
 sys/dev/aic7xxx/ahc_pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/aic7xxx/ahc_pci.c b/sys/dev/aic7xxx/ahc_pci.c
index 8109a6714814..7f8fbe140237 100644
--- a/sys/dev/aic7xxx/ahc_pci.c
+++ b/sys/dev/aic7xxx/ahc_pci.c
@@ -105,7 +105,7 @@ ahc_pci_attach(device_t dev)
 	error = aic_dma_tag_create(ahc, /*parent*/bus_get_dma_tag(dev),
 				   /*alignment*/1, /*boundary*/0,
 				   (ahc->flags & AHC_39BIT_ADDRESSING)
-				   ? 0x7FFFFFFFFFLL
+				   ? (bus_addr_t)0x7FFFFFFFFFLL
 				   : BUS_SPACE_MAXADDR_32BIT,
 				   /*highaddr*/BUS_SPACE_MAXADDR,
 				   /*filter*/NULL, /*filterarg*/NULL,