[kaffe] CVS kaffe (robilad): fixed small compiler warning
Kaffe CVS
cvs-commits at kaffe.org
Fri Sep 9 06:58:45 PDT 2005
PatchSet 6884
Date: 2005/09/09 13:53:32
Author: robilad
Branch: HEAD
Tag: (none)
Log:
fixed small compiler warning
2005-09-09 Dalibor Topic <robilad at kaffe.org>
* kaffe/kaffevm/classMethod.c (processClass):
Added missing cast to fix compiler warning.
Members:
ChangeLog:1.4405->1.4406
kaffe/kaffevm/classMethod.c:1.148->1.149
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4405 kaffe/ChangeLog:1.4406
--- kaffe/ChangeLog:1.4405 Fri Sep 9 10:58:28 2005
+++ kaffe/ChangeLog Fri Sep 9 13:53:32 2005
@@ -1,5 +1,10 @@
2005-09-09 Dalibor Topic <robilad at kaffe.org>
+ * kaffe/kaffevm/classMethod.c (processClass):
+ Added missing cast to fix compiler warning.
+
+2005-09-09 Dalibor Topic <robilad at kaffe.org>
+
* libraries/clib/zip/Deflater.c,
libraries/clib/zip/Inflater.c:
(GET_STREAM) Removed.
Index: kaffe/kaffe/kaffevm/classMethod.c
diff -u kaffe/kaffe/kaffevm/classMethod.c:1.148 kaffe/kaffe/kaffevm/classMethod.c:1.149
--- kaffe/kaffe/kaffevm/classMethod.c:1.148 Wed Aug 31 02:42:28 2005
+++ kaffe/kaffe/kaffevm/classMethod.c Fri Sep 9 13:53:36 2005
@@ -241,7 +241,9 @@
success = false;
goto done;
}
- KGC_addWeakRef(main_collector, class->superclass, &(class->superclass));
+ KGC_addWeakRef(main_collector,
+ class->superclass,
+ (void **)&(class->superclass));
if( !(class->accflags & ACC_INTERFACE) &&
(class->superclass->accflags & ACC_INTERFACE)) {
postExceptionMessage(
More information about the kaffe
mailing list