[PATCH vkd3d 4/6] tests: Use uint64_t for width and row_pitch (Coverity).

Józef Kucia joseph.kucia at gmail.com
Mon Apr 8 04:05:38 CDT 2019


From: Józef Kucia <jkucia at codeweavers.com>

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
 tests/d3d12_test_utils.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/d3d12_test_utils.h b/tests/d3d12_test_utils.h
index 9c38cafb0480..6eb9ceae5576 100644
--- a/tests/d3d12_test_utils.h
+++ b/tests/d3d12_test_utils.h
@@ -320,11 +320,11 @@ static inline unsigned int format_block_height(DXGI_FORMAT format)
 
 struct resource_readback
 {
-    unsigned int width;
+    uint64_t width;
     unsigned int height;
     unsigned int depth;
     ID3D12Resource *resource;
-    unsigned int row_pitch;
+    uint64_t row_pitch;
     void *data;
 };
 
-- 
2.21.0




More information about the wine-devel mailing list