From efe4ea284abb33bbc0ab99e636decd3195c0e333 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 2 Dec 2011 14:26:28 +0000 Subject: Cycles: * Fix broken compile of test app. * Fix some warnings compiling with gcc for 32 bit. * More tweaks to avoid extended precision issue from #29301. --- intern/cycles/subd/subd_mesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/cycles/subd/subd_mesh.cpp') diff --git a/intern/cycles/subd/subd_mesh.cpp b/intern/cycles/subd/subd_mesh.cpp index 8ed4854b786..3e6e0de48ea 100644 --- a/intern/cycles/subd/subd_mesh.cpp +++ b/intern/cycles/subd/subd_mesh.cpp @@ -88,7 +88,7 @@ SubdFace *SubdMesh::add_face(int *index, int num) /* test non-manifold cases */ if(!can_add_face(index, num)) { /* we could try to add face in opposite winding instead .. */ - fprintf(stderr, "Warning: non manifold mesh, invalid face '%lu'.\n", faces.size()); + fprintf(stderr, "Warning: non manifold mesh, invalid face '%lu'.\n", (unsigned long)faces.size()); return NULL; } -- cgit v1.2.3