added casts of pointer difference to integer
This commit is contained in:
parent
ab62dda2fc
commit
e37c249248
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue