diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-03-09 19:08:34 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-03-09 19:08:34 -0800 |
commit | 66eb3cf472890ab9c4c16868e5ab238f8575ca74 (patch) | |
tree | 8b4be124e69d4408ebb772e917c722d0b583e7ff /src/misc | |
parent | 8388f065f4b365a3a0c0aca4c8673b26c04ad47e (diff) | |
download | abc-66eb3cf472890ab9c4c16868e5ab238f8575ca74.tar.gz abc-66eb3cf472890ab9c4c16868e5ab238f8575ca74.tar.bz2 abc-66eb3cf472890ab9c4c16868e5ab238f8575ca74.zip |
Silencing remaining gcc warnings.
Diffstat (limited to 'src/misc')
-rw-r--r-- | src/misc/util/utilBridge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/util/utilBridge.c b/src/misc/util/utilBridge.c index 57372c6a..e48b54df 100644 --- a/src/misc/util/utilBridge.c +++ b/src/misc/util/utilBridge.c @@ -202,7 +202,7 @@ void Gia_ManFromBridgeUnknown( FILE * pFile ) } void Gia_ManFromBridgeCex( FILE * pFile, Abc_Cex_t * pCex ) { - int i, f, iBit, RetValue; + int i, f, iBit;//, RetValue; Vec_Str_t * vStr = Vec_StrAlloc( 1000 ); Vec_StrPush( vStr, (char)BRIDGE_VALUE_0 ); // false Vec_StrPush( vStr, (char)1 ); // size of vector (Armin's encoding) @@ -381,7 +381,7 @@ int Gia_ManFromBridgeReadPackage( FILE * pFile, int * pType, int * pSize, unsign *pType = atoi( Temp ); *pSize = atoi( Temp + 7 ); - *ppBuffer = ABC_ALLOC( char, *pSize ); + *ppBuffer = ABC_ALLOC( unsigned char, *pSize ); RetValue = fread( *ppBuffer, *pSize, 1, pFile ); if ( RetValue != 1 && *pSize != 0 ) { |