Compiler warnings.

This commit is contained in:
Alan Mishchenko 2020-09-13 20:33:59 -07:00
parent 07bf95f480
commit bab462d5cd
2 changed files with 2 additions and 2 deletions

View File

@ -2104,7 +2104,7 @@ void Gia_ManSimGen( Gia_Man_t * pGia )
Gia_ManForEachCiId( pGia, Id, i )
{
word * pSim = Vec_WrdEntryP(vSim0, i*nWords);
unsigned * pSimU = (unsigned *)pSim;
//unsigned * pSimU = (unsigned *)pSim;
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 );
}

View File

@ -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 )
{
int i, iObj, Count = 0;//, Weight;
int i, iObj;//, Count = 0;//, Weight;
Vec_Int_t * vDists, * vStart, * vNexts;
FILE * pFile = fopen( pFileName, "wb" );
if ( pFile == NULL )