From cd3c8596c794504289444333f3f2b75be8594332 Mon Sep 17 00:00:00 2001 From: XProger Date: Sun, 4 Mar 2018 00:20:37 +0300 Subject: [PATCH] fix compiler warning --- src/mesh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh.h b/src/mesh.h index 1c11d6a..81ded61 100644 --- a/src/mesh.h +++ b/src/mesh.h @@ -726,7 +726,7 @@ struct MeshBuilder { plane.iCount = 0; #endif - LOG("MegaMesh (i:%d v:%d a:%d, size:%d)\n", iCount, vCount, aCount, iCount * sizeof(Index) + vCount * sizeof(VertexGPU)); + LOG("MegaMesh (i:%d v:%d a:%d, size:%d)\n", iCount, vCount, aCount, int(iCount * sizeof(Index) + vCount * sizeof(VertexGPU))); // compile buffer and ranges mesh = new Mesh(indices, iCount, vertices, vCount, aCount);