diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-29 22:36:21 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-29 22:36:21 -0700 |
commit | 216fc33a47e357c3727aae8e980a0031bb8fbde1 (patch) | |
tree | 46ca0c03add8829e04f3b33e6d877417b803ecc5 /src/sat/bsat/satUtil.c | |
parent | 8982bf58cb8c801bdd6e204d73ac6ed36d98adaa (diff) | |
download | abc-216fc33a47e357c3727aae8e980a0031bb8fbde1.tar.gz abc-216fc33a47e357c3727aae8e980a0031bb8fbde1.tar.bz2 abc-216fc33a47e357c3727aae8e980a0031bb8fbde1.zip |
Fixed compiler warnings.
Diffstat (limited to 'src/sat/bsat/satUtil.c')
-rw-r--r-- | src/sat/bsat/satUtil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sat/bsat/satUtil.c b/src/sat/bsat/satUtil.c index abd668c6..59eb047d 100644 --- a/src/sat/bsat/satUtil.c +++ b/src/sat/bsat/satUtil.c @@ -89,7 +89,7 @@ void Sat_SolverWriteDimacs( sat_solver * p, char * pFileName, lit* assumpBegin, return; } // fprintf( pFile, "c CNF generated by ABC on %s\n", Extra_TimeStamp() ); - fprintf( pFile, "p cnf %d %d\n", p->size, Sat_MemEntryNum(&p->Mem, 0)+Sat_MemEntryNum(&p->Mem, 1)+nUnits+(assumpEnd-assumpBegin) ); + fprintf( pFile, "p cnf %d %d\n", p->size, Sat_MemEntryNum(&p->Mem, 0)+Sat_MemEntryNum(&p->Mem, 1)+nUnits+(int)(assumpEnd-assumpBegin) ); // write the original clauses Sat_MemForEachClause( pMem, c, i, k ) @@ -141,7 +141,7 @@ void Sat_Solver2WriteDimacs( sat_solver2 * p, char * pFileName, lit* assumpBegin return; } // fprintf( pFile, "c CNF generated by ABC on %s\n", Extra_TimeStamp() ); - fprintf( pFile, "p cnf %d %d\n", p->size, Sat_MemEntryNum(&p->Mem, 0)+Sat_MemEntryNum(&p->Mem, 1)+nUnits+(assumpEnd-assumpBegin) ); + fprintf( pFile, "p cnf %d %d\n", p->size, Sat_MemEntryNum(&p->Mem, 0)+Sat_MemEntryNum(&p->Mem, 1)+nUnits+(int)(assumpEnd-assumpBegin) ); // write the original clauses Sat_MemForEachClause2( pMem, c, i, k ) |