]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/picomodel/lwo/lwob.c
ported over the 1.5 branch version of q3map2 which is newer
[xonotic/netradiant.git] / libs / picomodel / lwo / lwob.c
index 2d381c59579c24cab079d5a9b07f5b1433df7c49..ba34c085733a4989e3c9456a02ec1653b51e2961 100644 (file)
@@ -546,7 +546,7 @@ int lwGetPolygons5( picoMemStream_t *fp, int cksize, lwPolygonList *plist, int p
          bp += 2;
       }
       j -= 1;
-      pp->surf = ( lwSurface * ) j;
+      pp->surf = ( lwSurface * ) ((size_t)j);
 
       pp++;
       pv += nv;