From c6ff35fdeeb2ce1b653831adea4372242de8753a Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 31 May 2020 03:29:06 +0000 Subject: [PATCH] qla2x00t: Fix a 32-bit compiler warning git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8990 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/qla_nx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qla2x00t/qla_nx.c b/qla2x00t/qla_nx.c index 748b6891c..52da5fd3b 100644 --- a/qla2x00t/qla_nx.c +++ b/qla2x00t/qla_nx.c @@ -559,8 +559,7 @@ qla82xx_idc_unlock(struct qla_hw_data *ha) } /* PCI Windowing for DDR regions. */ -static inline bool QLA82XX_ADDR_IN_RANGE(uintptr_t addr, uintptr_t low, - uintptr_t high) +static inline bool QLA82XX_ADDR_IN_RANGE(u64 addr, u64 low, u64 high) { return addr <= high && addr >= low; }