[kaffe] CVS kaffe (robilad): Added missing cast in classMethod.c
Kaffe CVS
cvs-commits at kaffe.org
Sat Nov 6 17:31:46 PST 2004
PatchSet 5408
Date: 2004/11/07 01:27:47
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Added missing cast in classMethod.c
2004-11-06 Eric Anholt <eta at lclark.edu>
* kaffe/kaffevm/classMethod.c:
Cast appropriately to avoid a warning.
Members:
ChangeLog:1.2957->1.2958
kaffe/kaffevm/classMethod.c:1.123->1.124
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2957 kaffe/ChangeLog:1.2958
--- kaffe/ChangeLog:1.2957 Sat Nov 6 20:02:04 2004
+++ kaffe/ChangeLog Sun Nov 7 01:27:47 2004
@@ -1,5 +1,10 @@
2004-11-06 Eric Anholt <eta at lclark.edu>
+ * kaffe/kaffevm/classMethod.c:
+ Cast appropriately to avoid a warning.
+
+2004-11-06 Eric Anholt <eta at lclark.edu>
+
* kaffe/kaffevm/access.c,
kaffe/kaffevm/soft.c,
replace/getaddrinfo.c:
Index: kaffe/kaffe/kaffevm/classMethod.c
diff -u kaffe/kaffe/kaffevm/classMethod.c:1.123 kaffe/kaffe/kaffevm/classMethod.c:1.124
--- kaffe/kaffe/kaffevm/classMethod.c:1.123 Sun Sep 5 12:24:48 2004
+++ kaffe/kaffe/kaffevm/classMethod.c Sun Nov 7 01:27:49 2004
@@ -561,7 +561,7 @@
dprintf("using JNI\n");
)
(*env)->ExceptionClear(env);
- (*env)->CallStaticVoidMethodA(env, class, meth, 0);
+ (*env)->CallStaticVoidMethodA(env, class, (jmethodID)meth, 0);
exc = (*env)->ExceptionOccurred(env);
(*env)->ExceptionClear(env);
} else {
More information about the kaffe
mailing list