aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/gjavah.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/gjavah.c')
-rw-r--r--gcc/java/gjavah.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c
index bca748a..3dc4217 100644
--- a/gcc/java/gjavah.c
+++ b/gcc/java/gjavah.c
@@ -427,7 +427,7 @@ cxx_keyword_subst (str, length)
const unsigned char *str;
int length;
{
- int last = sizeof (cxx_keywords) / sizeof (const char *);
+ int last = ARRAY_SIZE (cxx_keywords);
int first = 0;
int mid = (last + first) / 2;
int old = -1;