Fix warning: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’.
This commit is contained in:
parent
11f606b68a
commit
d15f8e4baa
|
|
@ -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++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user