Commit c7eab028 by Alan Mishchenko

C++ portability changes.

parent b532d144
...@@ -1786,7 +1786,7 @@ int Gia_ManPerformGla( Gia_Man_t * pAig, Abs_Par_t * pPars ) ...@@ -1786,7 +1786,7 @@ int Gia_ManPerformGla( Gia_Man_t * pAig, Abs_Par_t * pPars )
Abc_FrameSetStatus( -1 ); Abc_FrameSetStatus( -1 );
Abc_FrameSetCex( NULL ); Abc_FrameSetCex( NULL );
Abc_FrameSetNFrames( f+1 ); Abc_FrameSetNFrames( f+1 );
sprintf( Command, "write_status %s", Extra_FileNameGenericAppend( (char *)(p->pPars->pFileVabs ? p->pPars->pFileVabs : "glabs.aig"), ".status") ); sprintf( Command, "write_status %s", Extra_FileNameGenericAppend((char *)(p->pPars->pFileVabs ? p->pPars->pFileVabs : "glabs.aig"), ".status"));
Cmd_CommandExecute( Abc_FrameGetGlobalFrame(), Command ); Cmd_CommandExecute( Abc_FrameGetGlobalFrame(), Command );
Ga2_GlaDumpAbsracted( p, pPars->fVerbose ); Ga2_GlaDumpAbsracted( p, pPars->fVerbose );
} }
......
...@@ -1877,7 +1877,7 @@ int Gia_ManPerformGlaOld( Gia_Man_t * pAig, Abs_Par_t * pPars, int fStartVta ) ...@@ -1877,7 +1877,7 @@ int Gia_ManPerformGlaOld( Gia_Man_t * pAig, Abs_Par_t * pPars, int fStartVta )
Abc_FrameSetStatus( -1 ); Abc_FrameSetStatus( -1 );
Abc_FrameSetCex( NULL ); Abc_FrameSetCex( NULL );
Abc_FrameSetNFrames( f+1 ); Abc_FrameSetNFrames( f+1 );
sprintf( Command, "write_status %s", Extra_FileNameGenericAppend((p->pPars->pFileVabs ? p->pPars->pFileVabs : "glabs.aig"), ".status") ); sprintf( Command, "write_status %s", Extra_FileNameGenericAppend((char *)(p->pPars->pFileVabs ? p->pPars->pFileVabs : "glabs.aig"), ".status") );
Cmd_CommandExecute( Abc_FrameGetGlobalFrame(), Command ); Cmd_CommandExecute( Abc_FrameGetGlobalFrame(), Command );
Gia_GlaDumpAbsracted( p, pPars->fVerbose ); Gia_GlaDumpAbsracted( p, pPars->fVerbose );
} }
......
...@@ -1655,7 +1655,7 @@ int Gia_VtaPerformInt( Gia_Man_t * pAig, Abs_Par_t * pPars ) ...@@ -1655,7 +1655,7 @@ int Gia_VtaPerformInt( Gia_Man_t * pAig, Abs_Par_t * pPars )
Abc_FrameSetStatus( -1 ); Abc_FrameSetStatus( -1 );
Abc_FrameSetCex( NULL ); Abc_FrameSetCex( NULL );
Abc_FrameSetNFrames( f+1 ); Abc_FrameSetNFrames( f+1 );
sprintf( Command, "write_status %s", Extra_FileNameGenericAppend((p->pPars->pFileVabs ? p->pPars->pFileVabs : "vtabs.aig"), ".status") ); sprintf( Command, "write_status %s", Extra_FileNameGenericAppend((char *)(p->pPars->pFileVabs ? p->pPars->pFileVabs : "vtabs.aig"), ".status") );
Cmd_CommandExecute( Abc_FrameGetGlobalFrame(), Command ); Cmd_CommandExecute( Abc_FrameGetGlobalFrame(), Command );
Gia_VtaDumpAbsracted( p, pPars->fVerbose ); Gia_VtaDumpAbsracted( p, pPars->fVerbose );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment