[kaffe] CVS kaffe (dalibor): Fixed small signedness warning
Kaffe CVS
cvs-commits at kaffe.org
Sun Nov 2 22:00:03 PST 2003
PatchSet 4155
Date: 2003/11/03 05:57:40
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Fixed small signedness warning
Members:
ChangeLog:1.1747->1.1748
kaffe/kaffeh/support.c:1.33->1.34
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1747 kaffe/ChangeLog:1.1748
--- kaffe/ChangeLog:1.1747 Mon Nov 3 05:29:28 2003
+++ kaffe/ChangeLog Mon Nov 3 05:57:40 2003
@@ -1,4 +1,9 @@
2003-11-03 Dalibor Topic <robilad at kaffe.org>
+ * kaffe/kaffeh/support.c:
+ (kaffeh_findClass) Changed type of buf to unsigned char* to
+ fix -pedantic warnings.
+
+2003-11-03 Dalibor Topic <robilad at kaffe.org>
* include/jni.h,
kaffe/kaffevm/constants.h,
Index: kaffe/kaffe/kaffeh/support.c
diff -u kaffe/kaffe/kaffeh/support.c:1.33 kaffe/kaffe/kaffeh/support.c:1.34
--- kaffe/kaffe/kaffeh/support.c:1.33 Mon Nov 3 05:29:30 2003
+++ kaffe/kaffe/kaffeh/support.c Mon Nov 3 05:57:42 2003
@@ -844,7 +844,7 @@
else if (S_ISDIR(sbuf.st_mode)) {
Hjava_lang_Class tmpClass;
classFile hand;
- char* buf;
+ unsigned char* buf;
strcat(superName, "/");
strcat(superName, nm);
@@ -891,7 +891,7 @@
return;
}
else {
- char *buf;
+ unsigned char *buf;
classFile hand;
Hjava_lang_Class tmpClass;
More information about the kaffe
mailing list