fix compiler warning messages.
This commit is contained in:
parent
7304fbda13
commit
264d9322b9
@ -63,7 +63,7 @@ static char SccsId[] = "%W% %G%";
|
||||
|
||||
#if USE_SYSTEM_MALLOC
|
||||
#define my_malloc(sz) malloc(sz)
|
||||
#define my_realloc(ptr, sz, safe) realloc(ptr, sz)
|
||||
#define my_realloc(ptr, sz, osz, safe) realloc(ptr, sz)
|
||||
#define my_free(ptr) free(ptr)
|
||||
#else
|
||||
#define my_malloc(sz) Yap_dlmalloc(sz)
|
||||
|
12
H/absmi.h
12
H/absmi.h
@ -1152,9 +1152,9 @@ loop:
|
||||
unif++;
|
||||
#endif
|
||||
if ((void *)to_visit < (void *)unif) {
|
||||
struct unif_record *urec = unif;
|
||||
to_visit = (struct v_record *)Yap_shift_visit((CELL **)to_visit, (CELL ***)&urec);
|
||||
unif = urec;
|
||||
CELL **urec = (CELL **)unif;
|
||||
to_visit = (struct v_record *)Yap_shift_visit((CELL **)to_visit, &urec);
|
||||
unif = (struct unif_record *)urec;
|
||||
}
|
||||
to_visit->start0 = pt0;
|
||||
to_visit->end0 = pt0_end;
|
||||
@ -1197,9 +1197,9 @@ loop:
|
||||
unif++;
|
||||
#endif
|
||||
if ((void *)to_visit < (void *)unif) {
|
||||
struct unif_record *urec = unif;
|
||||
to_visit = (struct v_record *)Yap_shift_visit((CELL **)to_visit, (CELL ***)&urec);
|
||||
unif = urec;
|
||||
CELL **urec = (CELL **)unif;
|
||||
to_visit = (struct v_record *)Yap_shift_visit((CELL **)to_visit, &urec);
|
||||
unif = (struct unif_record *)urec;
|
||||
}
|
||||
to_visit->start0 = pt0;
|
||||
to_visit->end0 = pt0_end;
|
||||
|
Reference in New Issue
Block a user