]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
model_shared: Fix gcc warning
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 31 Dec 2020 19:31:35 +0000 (19:31 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 31 Dec 2020 19:31:35 +0000 (19:31 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13084 d7cf8633-e32d-0410-b094-e92efae38249

model_shared.c

index e70f47c2fb26359862c6b52a7c55242dd8e1712d..67062eba3355ae40265fb94bac42efcec6c560ed 100644 (file)
@@ -2885,7 +2885,7 @@ void Mod_VertexRangeFromElements(int numelements, const int *elements, int *firs
 
 void Mod_SetDrawSkyAndWater(model_t* mod)
 {
-       size_t j;
+       int j;
        uint64_t basematerialflags = 0;
        // by default assume there is no sky or water used in this model
        mod->DrawSky = NULL;