From d15f8e4baa8f658d1df6c14ba3fbf31d60925e2d Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 8 Nov 2010 00:43:30 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20warning:=20warning:=20format=20=E2=80=98%?= =?UTF-8?q?d=E2=80=99=20expects=20type=20=E2=80=98int=E2=80=99,=20but=20ar?= =?UTF-8?q?gument=202=20has=20type=20=E2=80=98long=20int=E2=80=99.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/mbspc/mbspc/l_bsp_q3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mbspc/mbspc/l_bsp_q3.c b/tools/mbspc/mbspc/l_bsp_q3.c index a5c65245..11b70960 100644 --- a/tools/mbspc/mbspc/l_bsp_q3.c +++ b/tools/mbspc/mbspc/l_bsp_q3.c @@ -217,7 +217,7 @@ void Q3_SurfacePlane(q3_dsurface_t *surface, vec3_t normal, float *dist) */ if (VectorLength(normal) < 0.9) { - printf("surface %d bogus normal vector %f %f %f\n", surface - q3_drawSurfaces, normal[0], normal[1], normal[2]); + printf("surface %td bogus normal vector %f %f %f\n", surface - q3_drawSurfaces, normal[0], normal[1], normal[2]); printf("t1 = %f %f %f, t2 = %f %f %f\n", t1[0], t1[1], t1[2], t2[0], t2[1], t2[2]); for (i = 0; i < surface->numVerts; i++) {