Commit 67738a41 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

d3dx9_36/tests: Use proper printf format (PVS-Studio).

parent b0f267ae
......@@ -1487,8 +1487,8 @@ static void check_vertex_buffer_(int line, ID3DXMesh *mesh, const void *vertices
return;
if (mesh_fvf == fvf) {
DWORD vertex_size = D3DXGetFVFVertexSize(fvf);
int i;
DWORD vertex_size = D3DXGetFVFVertexSize(fvf), i;
for (i = 0; i < min(num_vertices, mesh_num_vertices); i++)
{
const FLOAT *exp_float = vertices;
......@@ -2568,7 +2568,7 @@ static void test_polygon(IDirect3DDevice9 *device, float length, unsigned int si
mesh.fvf = D3DFVF_XYZ | D3DFVF_NORMAL;
sprintf(name, "polygon (%g, %d)", length, sides);
sprintf(name, "polygon (%g, %u)", length, sides);
compare_mesh(name, polygon, &mesh);
free_mesh(&mesh);
......
......@@ -343,7 +343,7 @@ static void test_dump(void)
goto exit;
}
printf("Load templates file (%d bytes)\n", size);
printf("Load templates file (%u bytes)\n", size);
ret = D3DXFileCreate(&xfile);
ok(ret == S_OK, "D3DXCreateFile failed with %#x\n", ret);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment