]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR java/40816 (error: 'jvariant::jvariant(jbyte)' cannot be overloaded)
authorAndrew Haley <aph@redhat.com>
Wed, 24 Feb 2010 15:34:19 +0000 (15:34 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Wed, 24 Feb 2010 15:34:19 +0000 (15:34 +0000)
2010-02-24  Andrew Haley  <aph@redhat.com>

        PR java/40816
        * include/jni_md.h: jboolean is an unsigned type.

From-SVN: r157047

libjava/ChangeLog
libjava/include/jni_md.h

index 63b40fc017f1def907b637cbb4b5a70f10372736..371e5ba0257775ebf35de7b4a76283c06dc6c28e 100644 (file)
@@ -1,3 +1,8 @@
+2010-02-24  Andrew Haley  <aph@redhat.com>
+
+       PR java/40816
+       * include/jni_md.h: jboolean is an unsigned type.
+
 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
 
        PR java/41991
index f806bac517989c3638c7ac21db18d1d152160387..f65a15c5659da66384f24bafa89ce8c753411d2d 100644 (file)
@@ -78,7 +78,7 @@ typedef int    jbyte  __attribute__((__mode__(__QI__)));
 typedef int    jshort __attribute__((__mode__(__HI__)));
 typedef int    jint   __attribute__((__mode__(__SI__)));
 typedef int    jlong  __attribute__((__mode__(__DI__)));
-typedef int    jboolean __attribute__((__mode__(__QI__)));
+typedef unsigned int   jboolean __attribute__((__mode__(__QI__)));
 typedef unsigned short jchar __attribute__((__mode__(__HI__)));
 typedef float  jfloat;
 typedef double jdouble;
@@ -99,7 +99,7 @@ typedef int64_t jlong;
 typedef float jfloat;
 typedef double jdouble;
 typedef jint jsize;
-typedef int8_t jboolean;
+typedef uint8_t jboolean;
 typedef uint16_t jchar;
 
 #  else /* JV_HAVE_INTTYPES_H */