fix warnings
This commit is contained in:
parent
3dd2ff55b1
commit
7b7d0471b6
|
|
@ -2481,7 +2481,7 @@ Q_EXTERN bspAdvertisement_t bspAds[ MAX_MAP_ADVERTISEMENTS ];
|
||||||
allocated = def; \
|
allocated = def; \
|
||||||
while(reqitem >= allocated && allocated) \
|
while(reqitem >= allocated && allocated) \
|
||||||
allocated *= 2; \
|
allocated *= 2; \
|
||||||
if(!allocated || allocated > 2147483647 / sizeof(*ptr)) \
|
if(!allocated || allocated > 2147483647 / (int)sizeof(*ptr)) \
|
||||||
{ \
|
{ \
|
||||||
Error(#ptr " over 2 GB"); \
|
Error(#ptr " over 2 GB"); \
|
||||||
} \
|
} \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user