From 7b7d0471b6fa47af04c46e95cdfaa70d3a9cc78c Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 1 Oct 2010 11:28:27 +0200 Subject: [PATCH] fix warnings --- tools/quake3/q3map2/q3map2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/quake3/q3map2/q3map2.h b/tools/quake3/q3map2/q3map2.h index d0f903fb..6c7b8893 100644 --- a/tools/quake3/q3map2/q3map2.h +++ b/tools/quake3/q3map2/q3map2.h @@ -2481,7 +2481,7 @@ Q_EXTERN bspAdvertisement_t bspAds[ MAX_MAP_ADVERTISEMENTS ]; allocated = def; \ while(reqitem >= allocated && allocated) \ allocated *= 2; \ - if(!allocated || allocated > 2147483647 / sizeof(*ptr)) \ + if(!allocated || allocated > 2147483647 / (int)sizeof(*ptr)) \ { \ Error(#ptr " over 2 GB"); \ } \ -- 2.39.2