diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-09 09:23:08 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-09 09:23:08 -0700 |
commit | 4ed89d00fed5a93a53bbd5ce168c7fd0b3295f54 (patch) | |
tree | e60a62749972a1b404e6e15bbfc4558c0cf6b23f /src/map/if/ifDec07.c | |
parent | 7b9f4a278df2d6bced4dd32d00f1b57f33117119 (diff) | |
download | abc-4ed89d00fed5a93a53bbd5ce168c7fd0b3295f54.tar.gz abc-4ed89d00fed5a93a53bbd5ce168c7fd0b3295f54.tar.bz2 abc-4ed89d00fed5a93a53bbd5ce168c7fd0b3295f54.zip |
Making explicit cast to 64-bit unsigned in a few places.
Diffstat (limited to 'src/map/if/ifDec07.c')
-rw-r--r-- | src/map/if/ifDec07.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/if/ifDec07.c b/src/map/if/ifDec07.c index f5a21884..8acd7402 100644 --- a/src/map/if/ifDec07.c +++ b/src/map/if/ifDec07.c @@ -108,7 +108,7 @@ static word If_Dec6ComposeLut4( int t, word f[4] ) { if ( !((t >> m) & 1) ) continue; - c = ~0; + c = ~(word)0; for ( v = 0; v < 4; v++ ) c &= ((m >> v) & 1) ? f[v] : ~f[v]; r |= c; @@ -152,7 +152,7 @@ static void If_Dec7ComposeLut4( int t, word f[4][2], word r[2] ) { if ( !((t >> m) & 1) ) continue; - c[0] = c[1] = ~0; + c[0] = c[1] = ~(word)0; for ( v = 0; v < 4; v++ ) { c[0] &= ((m >> v) & 1) ? f[v][0] : ~f[v][0]; |