aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2010-02-24 15:34:19 +0000
committerAndrew Haley <aph@gcc.gnu.org>2010-02-24 15:34:19 +0000
commit9da60d2a10f24aedce9a200d63c4b339f5e4b2c6 (patch)
treef35fb4d7c98458e45fd4b9f5f1b3de6c57773741 /libjava
parent241b534ec928be1edea8776e32de76290f6b67d0 (diff)
downloadgcc-9da60d2a10f24aedce9a200d63c4b339f5e4b2c6.zip
gcc-9da60d2a10f24aedce9a200d63c4b339f5e4b2c6.tar.gz
gcc-9da60d2a10f24aedce9a200d63c4b339f5e4b2c6.tar.bz2
re PR java/40816 (error: 'jvariant::jvariant(jbyte)' cannot be overloaded)
2010-02-24 Andrew Haley <aph@redhat.com> PR java/40816 * include/jni_md.h: jboolean is an unsigned type. From-SVN: r157047
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/include/jni_md.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 63b40fc..371e5ba 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -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
diff --git a/libjava/include/jni_md.h b/libjava/include/jni_md.h
index f806bac..f65a15c 100644
--- a/libjava/include/jni_md.h
+++ b/libjava/include/jni_md.h
@@ -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 */