summaryrefslogtreecommitdiffstats
path: root/libjava/include
diff options
context:
space:
mode:
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-24 15:34:19 +0000
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-24 15:34:19 +0000
commit58fba9de83f3e8bd30a1bcd2be968890b3568fd9 (patch)
treef35fb4d7c98458e45fd4b9f5f1b3de6c57773741 /libjava/include
parent6decc40f86fce8717da44a625c3fdcaf109c8777 (diff)
downloadppe42-gcc-58fba9de83f3e8bd30a1bcd2be968890b3568fd9.tar.gz
ppe42-gcc-58fba9de83f3e8bd30a1bcd2be968890b3568fd9.zip
2010-02-24 Andrew Haley <aph@redhat.com>
PR java/40816 * include/jni_md.h: jboolean is an unsigned type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157047 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/jni_md.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/include/jni_md.h b/libjava/include/jni_md.h
index f806bac5179..f65a15c5659 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 */
OpenPOWER on IntegriCloud