summaryrefslogtreecommitdiffstats
path: root/src/map/if/ifDec16.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-02-17 00:06:39 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2012-02-17 00:06:39 -0800
commit2d316b86e29704c28487533518bf67f2672fcd8f (patch)
treeaa7531d477e2e287a60a0fd41da9b2284e3eceba /src/map/if/ifDec16.c
parent97856d021a1282cf3fb9a86701fff3ec403fe912 (diff)
downloadabc-2d316b86e29704c28487533518bf67f2672fcd8f.tar.gz
abc-2d316b86e29704c28487533518bf67f2672fcd8f.tar.bz2
abc-2d316b86e29704c28487533518bf67f2672fcd8f.zip
Silencing some of the gcc warnings.
Diffstat (limited to 'src/map/if/ifDec16.c')
-rw-r--r--src/map/if/ifDec16.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/if/ifDec16.c b/src/map/if/ifDec16.c
index e624f889..442e1fa1 100644
--- a/src/map/if/ifDec16.c
+++ b/src/map/if/ifDec16.c
@@ -2012,10 +2012,10 @@ float If_CutDelayLutStruct( If_Man_t * p, If_Cut_t * pCut, char * pStr, float Wi
assert( G3.nVars == 0 );
for ( i = 0; i < nLeaves; i++ )
if ( !fUsed[i] )
- G3.pVars[G3.nVars++] = i;
- G3.pVars[G3.nVars++] = nLeaves;
+ G3.pVars[(int)G3.nVars++] = i;
+ G3.pVars[(int)G3.nVars++] = nLeaves;
if ( G2.nVars )
- G3.pVars[G3.nVars++] = nLeaves+1;
+ G3.pVars[(int)G3.nVars++] = nLeaves+1;
assert( G1.nVars + G2.nVars + G3.nVars == nLeaves +
(G1.nVars > 0) + (G2.nVars > 0) + (G1.nMyu > 2) + (G2.nMyu > 2) );
// what if both non-disjoint vars are the same???
@@ -2038,7 +2038,7 @@ float If_CutDelayLutStruct( If_Man_t * p, If_Cut_t * pCut, char * pStr, float Wi
***********************************************************************/
int If_CutPerformCheck16( If_Man_t * p, unsigned * pTruth, int nVars, int nLeaves, char * pStr )
{
- If_Grp_t G1 = {0}, G2 = {0}, G3 = {0};
+ If_Grp_t G1 = {0}, G3 = {0};
int i, nLutLeaf, nLutLeaf2, nLutRoot, Length;
// quit if parameters are wrong
Length = strlen(pStr);