summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2023-01-09 16:39:25 +0100
committersfan5 <sfan5@live.de>2023-01-12 22:02:07 +0100
commit356096b9546e93456cab799f7634fc4f89952202 (patch)
tree03ac473396d157e048706be949114405a0d6e2dc /video/out
parent9196abf1116f9d24e554e4027433b0201a78d90a (diff)
downloadmpv-356096b9546e93456cab799f7634fc4f89952202.tar.bz2
mpv-356096b9546e93456cab799f7634fc4f89952202.tar.xz
ra_d3d11: fix incorrect type
As it happens, `SIZE_T` and `size_t` are not the same length on 32-bit Windows
Diffstat (limited to 'video/out')
-rw-r--r--video/out/d3d11/ra_d3d11.c2
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;