]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
samplesize warning
authorrpolzer <rpolzer@61c419a2-8eb2-4b30-bcec-8cead039b335>
Tue, 23 Sep 2008 19:36:35 +0000 (19:36 +0000)
committerrpolzer <rpolzer@61c419a2-8eb2-4b30-bcec-8cead039b335>
Tue, 23 Sep 2008 19:36:35 +0000 (19:36 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@102 61c419a2-8eb2-4b30-bcec-8cead039b335

tools/quake3/q3map2/lightmaps_ydnar.c

index 0ee45b1af0fb997ebab093da4ecde1f2a25fc2cc..f27b1e26bd65f045375e95a05f6a85318bad4cb7 100644 (file)
@@ -694,8 +694,8 @@ qboolean AddSurfaceToRawLightmap( int num, rawLightmap_t *lm )
                        info->maxs[0],
                        info->maxs[1],
                        info->maxs[2],
-                       lm->sampleSize,
-                       sampleSize);
+                       (double) lm->sampleSize,
+                       (double) sampleSize);
        }
        
        /* set actual sample size */