Fix integer overflow in r346386.

Sponsored by:	Dell EMC Isilon
This commit is contained in:
tychon 2019-05-16 22:27:38 +00:00
parent 653b035c89
commit 85eaade994

View File

@ -2866,7 +2866,7 @@ struct bge_gib {
#define BGE_DMA_MAXADDR 0xFFFFFFFFFF
#endif
#if (BUS_SPACE_MAXADDR > 0xFFFFFFFF)
#if (BUS_SPACE_MAXSIZE > 0xFFFFFFFF)
#define BGE_DMA_BNDRY 0x100000000
#else
#define BGE_DMA_BNDRY 0