[Android] libvlcjni: fix bad cast between long and jlong
Thomas Guillem
git at videolan.org
Fri May 22 13:15:28 CEST 2015
vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri May 22 13:13:42 2015 +0200| [4ac43ca8b852377f7f2e1e8009942bdd60095db0] | committer: Thomas Guillem
libvlcjni: fix bad cast between long and jlong
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=4ac43ca8b852377f7f2e1e8009942bdd60095db0
---
libvlc/jni/libvlcjni-vlcobject.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libvlc/jni/libvlcjni-vlcobject.h b/libvlc/jni/libvlcjni-vlcobject.h
index 4d66dc1..974e3d5 100644
--- a/libvlc/jni/libvlcjni-vlcobject.h
+++ b/libvlc/jni/libvlcjni-vlcobject.h
@@ -51,9 +51,9 @@ struct vlcjni_object
struct java_event
{
- int type;
- long arg1;
- long arg2;
+ jint type;
+ jlong arg1;
+ jlong arg2;
};
/* event manager callback dispatched to native struct implementing a
More information about the Android
mailing list