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
This commit is contained in:
Bart Van Assche
2020-05-31 03:29:06 +00:00
parent 4458868846
commit c6ff35fdee

View File

@@ -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;
}