[kaffe] CVS kaffe (robilad): Fixed compiler warning in main.c
Kaffe CVS
cvs-commits at kaffe.org
Thu Sep 8 08:53:05 PDT 2005
PatchSet 6881
Date: 2005/09/08 15:48:11
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Fixed compiler warning in main.c
2005-09-08 Andreas Tobler <a.tobler at schweiz.ch>
* kaffe/kaffe/main.c
(options): Cast argument to free to avoid compiler warnings.
Members:
ChangeLog:1.4402->1.4403
kaffe/kaffe/main.c:1.92->1.93
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4402 kaffe/ChangeLog:1.4403
--- kaffe/ChangeLog:1.4402 Thu Sep 8 12:26:23 2005
+++ kaffe/ChangeLog Thu Sep 8 15:48:11 2005
@@ -1,3 +1,8 @@
+2005-09-08 Andreas Tobler <a.tobler at schweiz.ch>
+
+ * kaffe/kaffe/main.c
+ (options): Cast argument to free to avoid compiler warnings.
+
2005-09-08 Dalibor Topic <robilad at kaffe.org>
* kaffe/kaffe/main.c: Include stdlib.h for exit.
Index: kaffe/kaffe/kaffe/main.c
diff -u kaffe/kaffe/kaffe/main.c:1.92 kaffe/kaffe/kaffe/main.c:1.93
--- kaffe/kaffe/kaffe/main.c:1.92 Thu Sep 8 12:26:26 2005
+++ kaffe/kaffe/kaffe/main.c Thu Sep 8 15:48:15 2005
@@ -741,7 +741,7 @@
if (vmargs.classpath != NULL) {
strcat (newcpath, path_separator);
strcat (newcpath, vmargs.classpath);
- free (vmargs.classpath);
+ free ((void*)vmargs.classpath);
}
/* set the new classpath */
More information about the kaffe
mailing list