[kaffe] CVS kaffe (dalibor): Fixed small compiler warning on powerpc-darwin
Kaffe CVS
cvs-commits at kaffe.org
Thu Oct 30 13:30:03 PST 2003
PatchSet 4144
Date: 2003/10/30 21:22:54
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Fixed small compiler warning on powerpc-darwin
Members:
ChangeLog:1.1736->1.1737
kaffe/kaffevm/jni.c:1.95->1.96
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1736 kaffe/ChangeLog:1.1737
--- kaffe/ChangeLog:1.1736 Thu Oct 30 20:40:18 2003
+++ kaffe/ChangeLog Thu Oct 30 21:22:54 2003
@@ -1,3 +1,10 @@
+2003-10-30 Dalibor Topic <robilad at kaffe.org>
+
+ * kaffe/kaffevm/jni.c:
+ (Kaffe_AttachCurrentThread) Changed prototype of env
+ to void** to match spec. Renamed env to penv to match header.
+ Fixed a small compiler warning on powerpc-darwin.
+
2003-10-30 Helmer Kraemer <hkraemer at freenet.de>
Dalibor Topic <robilad at kaffe.org>
Index: kaffe/kaffe/kaffevm/jni.c
diff -u kaffe/kaffe/kaffevm/jni.c:1.95 kaffe/kaffe/kaffevm/jni.c:1.96
--- kaffe/kaffe/kaffevm/jni.c:1.95 Thu Sep 25 10:06:15 2003
+++ kaffe/kaffe/kaffevm/jni.c Thu Oct 30 21:22:56 2003
@@ -3581,9 +3581,9 @@
}
static jint
-Kaffe_AttachCurrentThread(JavaVM* vm, JNIEnv** env, ThreadAttachArgs* args)
+Kaffe_AttachCurrentThread(JavaVM* vm, void** penv, ThreadAttachArgs* args)
{
- *env = NULL;
+ *penv = NULL;
return (0);
}
More information about the kaffe
mailing list