fix compilation
This commit is contained in:
		@@ -72,7 +72,7 @@ IntervalUDIRefitIndex(struct index_t **ip, UInt b[] USES_REGS)
 | 
			
		||||
  /* no constraints, nothing to gain */
 | 
			
		||||
  if (!IsAttVar(VarOfTerm(XREGS[i+1]))) return;
 | 
			
		||||
  /* be conservative */
 | 
			
		||||
  sz = sizeof(BITS32)*(it->ntrys+it->nentries*2);
 | 
			
		||||
  sz = sizeof(BITS32)*(it->ntrys+it->nentries);
 | 
			
		||||
  /* allocate space */
 | 
			
		||||
  if (!(it->udi_data = malloc(sz)))
 | 
			
		||||
    return;
 | 
			
		||||
 
 | 
			
		||||
@@ -4285,8 +4285,7 @@ Yap_InitCPreds(void)
 | 
			
		||||
  Yap_InitMYDDAS_TopLevelPreds();
 | 
			
		||||
#endif
 | 
			
		||||
  Yap_udi_init();
 | 
			
		||||
  Yap_udi_range_init();
 | 
			
		||||
 | 
			
		||||
  Yap_udi_Interval_init();
 | 
			
		||||
  Yap_InitSignalCPreds();
 | 
			
		||||
  Yap_InitUserCPreds();
 | 
			
		||||
  Yap_InitUtilCPreds();
 | 
			
		||||
 
 | 
			
		||||
@@ -186,7 +186,7 @@ void	STD_PROTO(Yap_PrepGoal,(UInt, CELL *, choiceptr USES_REGS));
 | 
			
		||||
 | 
			
		||||
/* exo.c */
 | 
			
		||||
void	STD_PROTO(Yap_InitExoPreds,(void));
 | 
			
		||||
void    Yap_udi_range_init(void);
 | 
			
		||||
void    Yap_udi_Interval_init(void);
 | 
			
		||||
 | 
			
		||||
/* foreign.c */
 | 
			
		||||
char   *STD_PROTO(Yap_FindExecutable,(void));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user