]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
fix warnings
authorRudolf Polzer <divverent@alientrap.org>
Fri, 1 Oct 2010 09:28:27 +0000 (11:28 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 1 Oct 2010 09:29:51 +0000 (11:29 +0200)
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"); \
                        } \