more win64 fixes

This commit is contained in:
Vítor Santos Costa
2010-05-10 22:14:08 +01:00
parent 55019a83bd
commit 99dafc9172
2 changed files with 5 additions and 5 deletions

4
C/compiler.c Normal file → Executable file
View File

@@ -2081,7 +2081,7 @@ c_head(Term t, compiler_struct *cglobs)
Yap_emit(name_op, (CELL) AtomOfTerm(t), Zero, &cglobs->cint);
#ifdef BEAM
if (EAM) {
Yap_emit(run_op,Zero,(unsigned long) cglobs->cint.CurrentPred,&cglobs->cint);
Yap_emit(run_op,Zero,(UInt) cglobs->cint.CurrentPred,&cglobs->cint);
}
#endif
return;
@@ -2090,7 +2090,7 @@ c_head(Term t, compiler_struct *cglobs)
Yap_emit(name_op, (CELL) NameOfFunctor(f), ArityOfFunctor(f), &cglobs->cint);
#ifdef BEAM
if (EAM) {
Yap_emit(run_op,Zero,(unsigned long) cglobs->cint.CurrentPred,&cglobs->cint);
Yap_emit(run_op,Zero,(UInt) cglobs->cint.CurrentPred,&cglobs->cint);
}
#endif
if (Yap_ExecutionMode == MIXED_MODE_USER)