[vlc-commits] d3d11_fmt: type cleaning
Steve Lhomme
git at videolan.org
Fri Aug 30 09:58:54 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Aug 28 14:57:21 2019 +0200| [cb5b9ae66bf4bcf99ebe986246c0e19ed7e4ef5d] | committer: Steve Lhomme
d3d11_fmt: type cleaning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cb5b9ae66bf4bcf99ebe986246c0e19ed7e4ef5d
---
modules/video_chroma/d3d11_fmt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_chroma/d3d11_fmt.c b/modules/video_chroma/d3d11_fmt.c
index c8dd3235fa..7c038d115b 100644
--- a/modules/video_chroma/d3d11_fmt.c
+++ b/modules/video_chroma/d3d11_fmt.c
@@ -604,7 +604,7 @@ int AllocateTextures( vlc_object_t *obj, d3d11_device_t *d3d_dev,
plane_t out_planes[] )
{
plane_t planes[PICTURE_PLANE_MAX];
- int plane, plane_count;
+ unsigned plane, plane_count;
HRESULT hr;
ID3D11Texture2D *slicedTexture = NULL;
D3D11_TEXTURE2D_DESC texDesc;
@@ -652,7 +652,7 @@ int AllocateTextures( vlc_object_t *obj, d3d11_device_t *d3d_dev,
goto error;
}
}
- for( int i = 0; i < p_chroma_desc->plane_count; i++ )
+ for( unsigned i = 0; i < p_chroma_desc->plane_count; i++ )
{
plane_t *p = &planes[i];
More information about the vlc-commits
mailing list