aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/jcf.h')
-rw-r--r--gcc/java/jcf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h
index d909b2c..9bd8a7c 100644
--- a/gcc/java/jcf.h
+++ b/gcc/java/jcf.h
@@ -131,7 +131,7 @@ typedef struct JCF {
#define JPOOL_UTF_DATA(JCF, INDEX) \
((JCF)->buffer+JPOOL_UINT(JCF, INDEX)+2)
#endif
-#define JPOOL_INT(JCF, INDEX) ((jint) JPOOL_UINT (JCF, INDEX))
+#define JPOOL_INT(JCF, INDEX) (WORD_TO_INT(JPOOL_UINT (JCF, INDEX)))
#define JPOOL_FLOAT(JCF, INDEX) WORD_TO_FLOAT (JPOOL_UINT (JCF, INDEX))
#define CPOOL_INDEX_IN_RANGE(CPOOL, INDEX) \