[kaffe] CVS kaffe (dalibor): Fixed gcc warning
Kaffe CVS
cvs-commits at kaffe.org
Sun Feb 8 08:32:02 PST 2004
PatchSet 4402
Date: 2004/02/08 16:29:14
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Fixed gcc warning
2004-02-08 Dalibor Topic <robilad at kaffe.org>
* kaffe/kaffevm/stringParsing.c
(skipChars, skipSpace): Changed parameter types to unsigned char
to fix compiler warning on sparc-solaris2 due to chars being passed
to isspace().
Members:
ChangeLog:1.1986->1.1987
kaffe/kaffevm/stringParsing.c:1.5->1.6
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1986 kaffe/ChangeLog:1.1987
--- kaffe/ChangeLog:1.1986 Sun Feb 8 16:06:23 2004
+++ kaffe/ChangeLog Sun Feb 8 16:29:14 2004
@@ -1,5 +1,12 @@
2004-02-08 Dalibor Topic <robilad at kaffe.org>
+ * kaffe/kaffevm/stringParsing.c
+ (skipChars, skipSpace): Changed parameter types to unsigned char
+ to fix compiler warning on sparc-solaris2 due to chars being passed
+ to isspace().
+
+2004-02-08 Dalibor Topic <robilad at kaffe.org>
+
* kaffe/kaffevm/mem/gc-incremental.c
(gcClearCounts, gcDumpCounts): Fixed gcc compiler warning
about unused functions when user compiled without debugging
Index: kaffe/kaffe/kaffevm/stringParsing.c
diff -u kaffe/kaffe/kaffevm/stringParsing.c:1.5 kaffe/kaffe/kaffevm/stringParsing.c:1.6
--- kaffe/kaffe/kaffevm/stringParsing.c:1.5 Wed Jun 25 08:56:45 2003
+++ kaffe/kaffe/kaffevm/stringParsing.c Sun Feb 8 16:29:15 2004
@@ -431,7 +431,7 @@
}
static
-char *skipChars(char *str, char *str_end)
+char *skipChars(unsigned char *str, unsigned char *str_end)
{
assert(str != 0);
assert(str_end != 0);
@@ -444,7 +444,7 @@
}
static
-char *skipSpace(char *str, char *str_end)
+char *skipSpace(unsigned char *str, unsigned char *str_end)
{
assert(str != 0);
assert(str_end != 0);
More information about the kaffe
mailing list