tests: Use uint64_t for width and row_pitch (Coverity).

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2019-04-08 11:05:38 +02:00 committed by Alexandre Julliard
parent a46a2fb21b
commit de0d7a837b

View File

@ -320,11 +320,11 @@ static inline unsigned int format_block_height(DXGI_FORMAT format)
struct resource_readback struct resource_readback
{ {
unsigned int width; uint64_t width;
unsigned int height; unsigned int height;
unsigned int depth; unsigned int depth;
ID3D12Resource *resource; ID3D12Resource *resource;
unsigned int row_pitch; uint64_t row_pitch;
void *data; void *data;
}; };