ra_d3d11: fix incorrect type

As it happens, `SIZE_T` and `size_t` are not the same length on 32-bit Windows
This commit is contained in:
sfan5 2023-01-09 16:39:25 +01:00
parent c5e4d65e71
commit 222f9c5635
1 changed files with 1 additions and 1 deletions

View File

@ -2182,7 +2182,7 @@ static void debug_marker(struct ra *ra, const char *msg)
bool printed_header = false;
uint64_t messages = ID3D11InfoQueue_GetNumStoredMessages(p->iqueue);
for (uint64_t i = 0; i < messages; i++) {
size_t len;
SIZE_T len;
hr = ID3D11InfoQueue_GetMessage(p->iqueue, i, NULL, &len);
if (FAILED(hr) || !len)
goto done;