one extra warning goes away.

This commit is contained in:
Vitor Santos Costa 2009-05-22 21:53:24 -05:00
parent f79d79e926
commit 9a2dbdcb24
1 changed files with 6 additions and 6 deletions

View File

@ -190,9 +190,9 @@ loop:
unif++; unif++;
#endif #endif
if ((void *)to_visit < (void *)unif) { if ((void *)to_visit < (void *)unif) {
struct unif_record *urec = unif; CELL **urec = (CELL **)unif;
to_visit = (struct v_record *)Yap_shift_visit((CELL **)to_visit, (CELL ***)&urec); to_visit = (struct v_record *)Yap_shift_visit((CELL **)to_visit, &urec);
unif = urec; unif = (struct unif_record *)urec;
} }
to_visit->start0 = pt0; to_visit->start0 = pt0;
to_visit->end0 = pt0_end; to_visit->end0 = pt0_end;
@ -235,9 +235,9 @@ loop:
unif++; unif++;
#endif #endif
if ((void *)to_visit < (void *)unif) { if ((void *)to_visit < (void *)unif) {
struct unif_record *urec = unif; CELL **urec = (CELL **)unif;
to_visit = (struct v_record *)Yap_shift_visit((CELL **)to_visit, (CELL ***)&urec); to_visit = (struct v_record *)Yap_shift_visit((CELL **)to_visit, &urec);
unif = urec; unif = (struct unif_record *)urec;
} }
to_visit->start0 = pt0; to_visit->start0 = pt0;
to_visit->end0 = pt0_end; to_visit->end0 = pt0_end;