Commit bab462d5 by Alan Mishchenko

Compiler warnings.

parent 07bf95f4
...@@ -2104,7 +2104,7 @@ void Gia_ManSimGen( Gia_Man_t * pGia ) ...@@ -2104,7 +2104,7 @@ void Gia_ManSimGen( Gia_Man_t * pGia )
Gia_ManForEachCiId( pGia, Id, i ) Gia_ManForEachCiId( pGia, Id, i )
{ {
word * pSim = Vec_WrdEntryP(vSim0, i*nWords); word * pSim = Vec_WrdEntryP(vSim0, i*nWords);
unsigned * pSimU = (unsigned *)pSim; //unsigned * pSimU = (unsigned *)pSim;
for ( k = 0; k < nWords; k++ ) for ( k = 0; k < nWords; k++ )
fprintf( pFile, " unsigned long s%07d_%d = ((unsigned long)rand() << 48) | ((unsigned long)rand() << 32) | ((unsigned long)rand() << 16) | (unsigned long)rand();\n", Id, k ); fprintf( pFile, " unsigned long s%07d_%d = ((unsigned long)rand() << 48) | ((unsigned long)rand() << 32) | ((unsigned long)rand() << 16) | (unsigned long)rand();\n", Id, k );
} }
......
...@@ -1151,7 +1151,7 @@ void Acb_Ntk4CollectRing( Acb_Ntk_t * pNtk, Vec_Int_t * vStart, Vec_Int_t * vRes ...@@ -1151,7 +1151,7 @@ void Acb_Ntk4CollectRing( Acb_Ntk_t * pNtk, Vec_Int_t * vStart, Vec_Int_t * vRes
} }
void Acb_Ntk4DumpWeightsInt( Acb_Ntk_t * pNtk, Vec_Int_t * vObjs, char * pFileName ) void Acb_Ntk4DumpWeightsInt( Acb_Ntk_t * pNtk, Vec_Int_t * vObjs, char * pFileName )
{ {
int i, iObj, Count = 0;//, Weight; int i, iObj;//, Count = 0;//, Weight;
Vec_Int_t * vDists, * vStart, * vNexts; Vec_Int_t * vDists, * vStart, * vNexts;
FILE * pFile = fopen( pFileName, "wb" ); FILE * pFile = fopen( pFileName, "wb" );
if ( pFile == NULL ) if ( pFile == NULL )
......
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