[kaffe] Trivial patches for cygwin on winxp

Davanum Srinivas dims at yahoo.com
Mon May 16 09:41:02 PDT 2005


Here's the diff.

thanks,
dims



Index: kaffe/kaffevm/thread.c
===================================================================
RCS file: /cvs/kaffe/kaffe/kaffe/kaffevm/thread.c,v
retrieving revision 1.98
diff -u -r1.98 thread.c
--- kaffe/kaffevm/thread.c      14 May 2005 21:46:31 -0000      1.98
+++ kaffe/kaffevm/thread.c      16 May 2005 16:47:14 -0000
@@ -483,7 +483,7 @@
  * already been updated. In the other case, there will be a small inconsistency.
  */
 void
-setPriorityThread(Hjava_lang_VMThread* tid, int prio)
+setPriorityThread(Hjava_lang_VMThread* tid, jint prio)
 {
        /* no native thread yet */
        if (unhand(tid)->jthreadID == 0)
Index: kaffe/kaffevm/jit/icode.c
===================================================================
RCS file: /cvs/kaffe/kaffe/kaffe/kaffevm/jit/icode.c,v
retrieving revision 1.34
diff -u -r1.34 icode.c
--- kaffe/kaffevm/jit/icode.c   6 May 2005 15:24:29 -0000       1.34
+++ kaffe/kaffevm/jit/icode.c   16 May 2005 16:47:16 -0000
@@ -2343,7 +2343,7 @@
 /*                                                                        */
 
 void
-pusharg_int_const(int val, int idx)
+pusharg_int_const(jint val, int idx)
 {
 #if defined(HAVE_pusharg_int_const)
        if (HAVE_pusharg_int_const_rangecheck(val)) {




Davanum Srinivas - http://webservices.apache.org/~dims/


		
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html





More information about the kaffe mailing list