[libbluray-devel] Fix signed/unsigned mismatch in _draw_string method

tourettes git at videolan.org
Sun Feb 15 13:06:45 CET 2015


libbluray | branch: master | tourettes <tourettes at team-mediaportal.com> | Sun Feb 15 13:18:34 2015 +0200| [c1a9af59aef3c389574a188f92fc521a3147f11d] | committer: hpi1

Fix signed/unsigned mismatch in _draw_string method

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=c1a9af59aef3c389574a188f92fc521a3147f11d
---

 src/libbluray/decoders/textst_render.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/libbluray/decoders/textst_render.c b/src/libbluray/decoders/textst_render.c
index 12ddc8b..8fda7db 100644
--- a/src/libbluray/decoders/textst_render.c
+++ b/src/libbluray/decoders/textst_render.c
@@ -215,7 +215,8 @@ static int _draw_string(FT_Face face, const uint8_t *string, int length,
 {
     uint8_t  color = style->font_color;
     unsigned char_code;
-    int      ii, jj, kk;
+    int      ii;
+    unsigned jj, kk;
     unsigned flags;
 
     if (length <= 0) {



More information about the libbluray-devel mailing list