diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2017-08-09 12:51:12 +0200 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2017-08-10 12:48:32 +0800 |
commit | 2f7067d0c6e6db46e0ed5ff61e5266bf218d2c07 (patch) | |
tree | 3f1a0ab9da605c02162f87a6bff0ebc70293b2a6 /va | |
parent | 62fa3a1d9925b3a9531a4368ca6eddc136e1336c (diff) | |
download | libva-2f7067d0c6e6db46e0ed5ff61e5266bf218d2c07.tar.gz |
glx: strcmp compares chars not unsigned chars
Thus, silence the warnings raising by clang-3.8 compiler.
Fixes #89
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Diffstat (limited to 'va')
-rw-r--r-- | va/glx/va_glx_impl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/va/glx/va_glx_impl.c b/va/glx/va_glx_impl.c index 621f6c1..23ea270 100644 --- a/va/glx/va_glx_impl.c +++ b/va/glx/va_glx_impl.c @@ -205,7 +205,7 @@ static int check_extension3(const char *name) for(i = 0; i < nbExtensions; i++) { const GLubyte *strExtension = glGetStringi(GL_EXTENSIONS, i); - if(strcmp(strExtension, (const GLubyte *)name) == 0) + if(strcmp((const char *) strExtension, name) == 0) return 1; } |