[vlc-commits] skins2: kill warning
Erwan Tulou
git at videolan.org
Sat Jul 6 19:15:54 CEST 2019
vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Thu Jul 4 16:11:26 2019 +0200| [f614097ed2017e3c188021e90a73b8492b33dd5c] | committer: Erwan Tulou
skins2: kill warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f614097ed2017e3c188021e90a73b8492b33dd5c
---
modules/gui/skins2/src/ft2_font.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/modules/gui/skins2/src/ft2_font.cpp b/modules/gui/skins2/src/ft2_font.cpp
index acbc43e3c6..c606899cb0 100644
--- a/modules/gui/skins2/src/ft2_font.cpp
+++ b/modules/gui/skins2/src/ft2_font.cpp
@@ -161,8 +161,10 @@ GenericBitmap *FT2Font::drawString( const UString &rString, uint32_t color,
{
pFribidiString = new uint32_t[len+1];
FriBidiCharType baseDir = FRIBIDI_TYPE_ON;
- fribidi_log2vis( (FriBidiChar*)pString, len, &baseDir,
- (FriBidiChar*)pFribidiString, 0, 0, 0 );
+ FriBidiLevel level = fribidi_log2vis(
+ (FriBidiChar*)pString, len, &baseDir,
+ (FriBidiChar*)pFribidiString, 0, 0, 0 );
+ (void)level;
pString = pFribidiString;
}
#endif
More information about the vlc-commits
mailing list