From: tomaz Date: Sat, 11 Sep 2010 09:54:18 +0000 (+0000) Subject: Ignored MSVC build directories X-Git-Tag: xonotic-v0.1.0preview~230^2~28 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3c548bdcd17c203e381914e2bad9240646b52e85;p=xonotic%2Fdarkplaces.git Ignored MSVC build directories Silenced a warning in MSVC 2008 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10456 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/model_brush.c b/model_brush.c index f40d7299..db7947b4 100644 --- a/model_brush.c +++ b/model_brush.c @@ -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<> loadmodel->brushq3.deluxemapping; + realindex = i >> (int)loadmodel->brushq3.deluxemapping; lightmapindex = i >> powerdxy; // choose the destination address