diff options
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r-- | gcc/local-alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c index b45f339..ee72b7d 100644 --- a/gcc/local-alloc.c +++ b/gcc/local-alloc.c @@ -1503,7 +1503,7 @@ qty_compare_1 (q1p, q2p) const PTR q1p; const PTR q2p; { - register int q1 = *(int *)q1p, q2 = *(int *)q2p; + register int q1 = *(const int *)q1p, q2 = *(const int *)q2p; register int tem = QTY_CMP_PRI (q2) - QTY_CMP_PRI (q1); if (tem != 0) @@ -1543,7 +1543,7 @@ qty_sugg_compare_1 (q1p, q2p) const PTR q1p; const PTR q2p; { - register int q1 = *(int *)q1p, q2 = *(int *)q2p; + register int q1 = *(const int *)q1p, q2 = *(const int *)q2p; register int tem = QTY_CMP_SUGG (q1) - QTY_CMP_SUGG (q2); if (tem != 0) |