]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/q3map2.h
fix warnings
[xonotic/netradiant.git] / tools / quake3 / q3map2 / q3map2.h
index d0f903fb8efb77f1a6c02283321414ea22bdbda0..6c7b88938e7e15b672e2b1c755c727325da60d34 100644 (file)
@@ -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"); \
                        } \