diff options
Diffstat (limited to 'src/sat')
-rw-r--r-- | src/sat/satoko/solver.c | 2 | ||||
-rw-r--r-- | src/sat/xsat/xsatSolver.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sat/satoko/solver.c b/src/sat/satoko/solver.c index 42bc6448..18d00ba2 100644 --- a/src/sat/satoko/solver.c +++ b/src/sat/satoko/solver.c @@ -437,7 +437,7 @@ static inline void solver_reduce_cdb(solver_t *s) limit = (unsigned)(n_learnts * s->opts.learnt_ratio); - satoko_sort((void *)learnts_cls, n_learnts, + satoko_sort((void **)learnts_cls, n_learnts, (int (*)(const void *, const void *)) clause_compare); if (learnts_cls[n_learnts / 2]->lbd <= 3) diff --git a/src/sat/xsat/xsatSolver.c b/src/sat/xsat/xsatSolver.c index 9807e1b7..4844ca1d 100644 --- a/src/sat/xsat/xsatSolver.c +++ b/src/sat/xsat/xsatSolver.c @@ -790,7 +790,7 @@ void xSAT_SolverReduceDB( xSAT_Solver_t * s ) limit = nLearnedOld / 2; - xSAT_UtilSort((void *) learnts_cls, nLearnedOld, + xSAT_UtilSort((void **) learnts_cls, nLearnedOld, (int (*)( const void *, const void * )) xSAT_ClauseCompare); if ( learnts_cls[nLearnedOld / 2]->nLBD <= 3 ) |