[vlc-commits] dxgi: fix argument type

Rémi Denis-Courmont git at videolan.org
Sat Jul 13 11:53:19 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 13 11:55:29 2019 +0300| [648d7fbdeedd16e90c93e5949038466ad4e4489b] | committer: Rémi Denis-Courmont

dxgi: fix argument type

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=648d7fbdeedd16e90c93e5949038466ad4e4489b
---

 modules/video_chroma/dxgi_fmt.c | 2 +-
 modules/video_chroma/dxgi_fmt.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_chroma/dxgi_fmt.c b/modules/video_chroma/dxgi_fmt.c
index 2138cf6f4e..b121c2dc4a 100644
--- a/modules/video_chroma/dxgi_fmt.c
+++ b/modules/video_chroma/dxgi_fmt.c
@@ -140,7 +140,7 @@ void DxgiFormatMask(DXGI_FORMAT format, video_format_t *fmt)
     }
 }
 
-const char *DxgiVendorStr(int gpu_vendor)
+const char *DxgiVendorStr(unsigned int gpu_vendor)
 {
     static const struct {
         unsigned   id;
diff --git a/modules/video_chroma/dxgi_fmt.h b/modules/video_chroma/dxgi_fmt.h
index af671b594a..e7f7d14543 100644
--- a/modules/video_chroma/dxgi_fmt.h
+++ b/modules/video_chroma/dxgi_fmt.h
@@ -54,7 +54,7 @@ vlc_fourcc_t DxgiFormatFourcc(DXGI_FORMAT format);
 const d3d_format_t *GetRenderFormatList(void);
 void DxgiFormatMask(DXGI_FORMAT format, video_format_t *);
 DXGI_FORMAT DxgiFourccFormat(vlc_fourcc_t fcc);
-const char *DxgiVendorStr(int gpu_vendor);
+const char *DxgiVendorStr(unsigned int gpu_vendor);
 UINT DxgiResourceCount(const d3d_format_t *);
 
 #endif /* include-guard */



More information about the vlc-commits mailing list