diff options
author | Keith Packard <keithp@keithp.com> | 2013-12-20 22:43:18 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-12-20 22:44:04 -0800 |
commit | 5c9172ba5681ff93d63c9c263a453d0025170045 (patch) | |
tree | 4d4bb736b1bb76d321e5efaefe2b23f5d389a1ce /src/math | |
parent | db8f3426ac1cf756a2e4974ca61a5ae9048c80ce (diff) |
altos: Clean up -Wextra warnings
Unused variables, mismatching signed/unsigned and a few other misc
warnings.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/math')
-rw-r--r-- | src/math/ef_rem_pio2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/ef_rem_pio2.c b/src/math/ef_rem_pio2.c index f1191d09..3e58f809 100644 --- a/src/math/ef_rem_pio2.c +++ b/src/math/ef_rem_pio2.c @@ -142,7 +142,7 @@ pio2_3t = 6.1232342629e-17; /* 0x248d3132 */ fn = (float)n; r = t-fn*pio2_1; w = fn*pio2_1t; /* 1st round good to 40 bit */ - if(n<32&&(ix&0xffffff00)!=npio2_hw[n-1]) { + if(n<32&&(ix&(__int32_t)0xffffff00)!=npio2_hw[n-1]) { y[0] = r-w; /* quick check no cancellation */ } else { __uint32_t high; |