d3d9/tests: Use int for indexes in generate_bumpmap_textures.

Fixes -Wabsolute-value warning.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2020-05-27 23:55:08 +02:00 committed by Alexandre Julliard
parent 3aa53f328c
commit f9e9ef36fa
1 changed files with 1 additions and 1 deletions

View File

@ -3160,7 +3160,7 @@ done:
}
static void generate_bumpmap_textures(IDirect3DDevice9 *device) {
unsigned int i, x, y;
int i, x, y;
HRESULT hr;
IDirect3DTexture9 *texture[2] = {NULL, NULL};
D3DLOCKED_RECT locked_rect;