Skip to content

Commit 4e5c5e6

Browse files
committed
Compiler problem.
1 parent c1937d1 commit 4e5c5e6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/proof/cec/cecProve.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,9 @@ int Cec_GiaProveOne( Gia_Man_t * p, int iEngine, int nTimeOut, int fVerbose, Par
306306
}
307307
Gia_Man_t * Cec_GiaScorrOld( Gia_Man_t * p, int nTimeOut, Par_Share_t * pShare )
308308
{
309-
Cec_ScorrStop_t Stop = { pShare, nTimeOut > 0 ? Abc_Clock() + (abctime)nTimeOut * CLOCKS_PER_SEC : 0 };
309+
Cec_ScorrStop_t Stop;
310+
Stop.pShare = pShare;
311+
Stop.TimeToStop = nTimeOut > 0 ? (abctime)(Abc_Clock() + (abctime)nTimeOut * CLOCKS_PER_SEC) : 0;
310312
if ( Gia_ManRegNum(p) == 0 )
311313
return Gia_ManDup( p );
312314
Ssw_Pars_t Pars, * pPars = &Pars;
@@ -322,7 +324,9 @@ Gia_Man_t * Cec_GiaScorrOld( Gia_Man_t * p, int nTimeOut, Par_Share_t * pShare )
322324
}
323325
Gia_Man_t * Cec_GiaScorrNew( Gia_Man_t * p, int nTimeOut, Par_Share_t * pShare )
324326
{
325-
Cec_ScorrStop_t Stop = { pShare, nTimeOut > 0 ? Abc_Clock() + (abctime)nTimeOut * CLOCKS_PER_SEC : 0 };
327+
Cec_ScorrStop_t Stop;
328+
Stop.pShare = pShare;
329+
Stop.TimeToStop = nTimeOut > 0 ? (abctime)(Abc_Clock() + (abctime)nTimeOut * CLOCKS_PER_SEC) : 0;
326330
if ( Gia_ManRegNum(p) == 0 )
327331
return Gia_ManDup( p );
328332
Cec_ParCor_t Pars, * pPars = &Pars;

0 commit comments

Comments
 (0)