[libbluray-devel] Fix signed/ unsigned mismatch in Java_java_awt_BDGraphics_drawStringN 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:23:50 2015 +0200| [f644d464244a40b1c166ea2a99a8ebdbef1cdfc6] | committer: hpi1

Fix signed/unsigned mismatch in Java_java_awt_BDGraphics_drawStringN method

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

 src/libbluray/bdj/native/java_awt_BDGraphics.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/libbluray/bdj/native/java_awt_BDGraphics.c b/src/libbluray/bdj/native/java_awt_BDGraphics.c
index 92e54ae..1b96254 100644
--- a/src/libbluray/bdj/native/java_awt_BDGraphics.c
+++ b/src/libbluray/bdj/native/java_awt_BDGraphics.c
@@ -53,7 +53,8 @@ Java_java_awt_BDGraphics_drawStringN(JNIEnv * env, jobject obj, jlong ftFace, js
     jclass cls;
     jmethodID mid;
     jint a, c;
-    jint i, j, k;
+    jint i;
+    unsigned j, k;
     FT_Face face = (FT_Face)(intptr_t)ftFace;
 
     length = (*env)->GetStringLength(env, string);



More information about the libbluray-devel mailing list