aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/verify.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/verify.c')
-rw-r--r--gcc/java/verify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/verify.c b/gcc/java/verify.c
index 07556e8..d665a16 100644
--- a/gcc/java/verify.c
+++ b/gcc/java/verify.c
@@ -316,8 +316,8 @@ start_pc_cmp (xp, yp)
const PTR xp;
const PTR yp;
{
- struct pc_index *x = (struct pc_index *) xp;
- struct pc_index *y = (struct pc_index *) yp;
+ const struct pc_index *x = (const struct pc_index *) xp;
+ const struct pc_index *y = (const struct pc_index *) yp;
return x->start_pc - y->start_pc;
}