mirror of https://github.com/mpv-player/mpv
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:
parent
c5e4d65e71
commit
222f9c5635
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue