]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/picomodel/lwo/lwob.c
fix some more warnings
[xonotic/netradiant.git] / libs / picomodel / lwo / lwob.c
index 2d0522d5f873edfe7e5802802a00d549c8db9186..f12e3a362b86a9fe4bd4bbdda60a2827bcd28ae0 100644 (file)
@@ -563,7 +563,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;