d3dx9_36/tests: Use proper printf format (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b0f267ae9d
commit
67738a41c4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue