diff options
author | sfan5 <sfan5@live.de> | 2023-01-09 16:39:25 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-01-24 16:39:33 +0100 |
commit | 222f9c56359561a39061665f3cbc06a3fbeb8e2a (patch) | |
tree | a596abdf5bf52485d9bf742a9956a82314d8f79d | |
parent | c5e4d65e714ab4246d75c72903d1720fda730d93 (diff) | |
download | mpv-222f9c56359561a39061665f3cbc06a3fbeb8e2a.tar.bz2 mpv-222f9c56359561a39061665f3cbc06a3fbeb8e2a.tar.xz |
ra_d3d11: fix incorrect type
As it happens, `SIZE_T` and `size_t` are not the same length on 32-bit Windows
-rw-r--r-- | video/out/d3d11/ra_d3d11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/d3d11/ra_d3d11.c b/video/out/d3d11/ra_d3d11.c index 98eac6dd64..a9c2f0b163 100644 --- a/video/out/d3d11/ra_d3d11.c +++ b/video/out/d3d11/ra_d3d11.c @@ -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; |