[vlc-commits] direct3d9: fix warning for fourcc formatting
Alexandre Janniaux
git at videolan.org
Tue Aug 18 15:09:18 CEST 2020
vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Fri Jul 24 23:31:15 2020 +0200| [853b920fc399b524af8a6a9dddb0e4682231b752] | committer: Alexandre Janniaux
direct3d9: fix warning for fourcc formatting
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=853b920fc399b524af8a6a9dddb0e4682231b752
---
modules/video_output/win32/direct3d9.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/win32/direct3d9.c b/modules/video_output/win32/direct3d9.c
index 162bf3a8b0..9879be459d 100644
--- a/modules/video_output/win32/direct3d9.c
+++ b/modules/video_output/win32/direct3d9.c
@@ -1624,7 +1624,7 @@ static int Direct3D9Open(vout_display_t *vd, video_format_t *fmt, vlc_video_cont
* typically support more formats than textures */
const d3d9_format_t *d3dfmt = Direct3DFindFormat(vd, &vd->source, vctx);
if (!d3dfmt) {
- msg_Err(vd, "unsupported source pixel format %4.4s", &vd->source.i_chroma);
+ msg_Err(vd, "unsupported source pixel format %4.4s", (const char*)&vd->source.i_chroma);
goto error;
}
msg_Dbg(vd, "found input surface format %s for source %4.4s", d3dfmt->name, (const char *)&vd->source.i_chroma);
More information about the vlc-commits
mailing list