]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Ignored MSVC build directories
authortomaz <tomaz@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 11 Sep 2010 09:54:18 +0000 (09:54 +0000)
committertomaz <tomaz@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 11 Sep 2010 09:54:18 +0000 (09:54 +0000)
Silenced a warning in MSVC 2008

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10456 d7cf8633-e32d-0410-b094-e92efae38249

model_brush.c

index f40d7299654c3e2152230890540ff0ee5eea696d..db7947b461487b885ba268ee1ac21b196c7afa96 100644 (file)
@@ -4713,7 +4713,7 @@ static void Mod_Q3BSP_LoadLightmaps(lump_t *l, lump_t *faceslump)
        // figure out what the most reasonable merge power is within limits
 
        // find the appropriate NxN dimensions to merge to, to avoid wasted space
-       realcount = count >> loadmodel->brushq3.deluxemapping;
+       realcount = count >> (int)loadmodel->brushq3.deluxemapping;
 
        // figure out how big the merged texture has to be
        mergegoal = 128<<bound(0, mod_q3bsp_lightmapmergepower.integer, 6);
@@ -4761,7 +4761,7 @@ static void Mod_Q3BSP_LoadLightmaps(lump_t *l, lump_t *faceslump)
        for (i = 0;i < count;i++)
        {
                // figure out which merged lightmap texture this fits into
-               realindex = i >> loadmodel->brushq3.deluxemapping;
+               realindex = i >> (int)loadmodel->brushq3.deluxemapping;
                lightmapindex = i >> powerdxy;
 
                // choose the destination address