added casts of pointer difference to integer
This commit is contained in:
parent
1f21fb4aa2
commit
71ca9b484f
@ -590,7 +590,7 @@ normalfailed: if (stackpad!=tokpatlen) {
|
||||
do {
|
||||
npos=exactmatch=0;
|
||||
for(rpp=reglist[propno];rp= *rpp; rpp++)
|
||||
if (getrefcount(rp-machregs, FALSE)==0) {
|
||||
if (getrefcount((int)(rp-machregs), FALSE)==0) {
|
||||
pos[npos++] = rp-machregs;
|
||||
if (eqtoken(&rp->r_contents,&token))
|
||||
pos2[exactmatch++] = rp-machregs;
|
||||
|
||||
@ -564,7 +564,7 @@ unsigned stackupto(limit,ply,toplevel) token_p limit; {
|
||||
if (cp->c1_prop>=0) {
|
||||
for (rpp=reglist[cp->c1_prop];
|
||||
(rp = *rpp)!=0 &&
|
||||
getrefcount(rp-machregs, TRUE)!=0;
|
||||
getrefcount((int)(rp-machregs), TRUE)!=0;
|
||||
rpp++)
|
||||
;
|
||||
if (rp==0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user