[kaffe] CVS kaffe (robilad): warning fix for jni
Kaffe CVS
cvs-commits at kaffe.org
Thu Aug 11 20:03:41 PDT 2005
PatchSet 6816
Date: 2005/08/12 02:37:24
Author: robilad
Branch: HEAD
Tag: (none)
Log:
warning fix for jni
2005-08-11 Andreas Tobler <a.tobler at schweiz.ch>
* kaffe/kaffevm/jni/jni.c (Kaffe_DefineClass): Cast buf to match the
prototype of classFileInit.
Members:
ChangeLog:1.4341->1.4342
kaffe/kaffevm/jni/jni.c:1.36->1.37
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4341 kaffe/ChangeLog:1.4342
--- kaffe/ChangeLog:1.4341 Fri Aug 12 02:26:07 2005
+++ kaffe/ChangeLog Fri Aug 12 02:37:24 2005
@@ -1,5 +1,10 @@
2005-08-11 Andreas Tobler <a.tobler at schweiz.ch>
+ * kaffe/kaffevm/jni/jni.c (Kaffe_DefineClass): Cast buf to match the
+ prototype of classFileInit.
+
+2005-08-11 Andreas Tobler <a.tobler at schweiz.ch>
+
* libraries/clib/net/PlainSocketImpl.c
(gnu_java_net_PlainSocketImpl_socketGetOption): Initialize r.
Index: kaffe/kaffe/kaffevm/jni/jni.c
diff -u kaffe/kaffe/kaffevm/jni/jni.c:1.36 kaffe/kaffe/kaffevm/jni/jni.c:1.37
--- kaffe/kaffe/kaffevm/jni/jni.c:1.36 Tue Jul 19 16:27:37 2005
+++ kaffe/kaffe/kaffevm/jni/jni.c Fri Aug 12 02:37:37 2005
@@ -99,7 +99,8 @@
loader = unveil(loader);
- classFileInit(&hand, NULL, buf, (size_t)len, CP_BYTEARRAY);
+ classFileInit(&hand, NULL, (unsigned char*)buf, (size_t)len,
+ CP_BYTEARRAY);
cls = newClass();
if (cls == 0) {
More information about the kaffe
mailing list