Fix build problems in qmath(3) with new GCC. Trivial, except for the signedness part in qmath.h.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 26139 Build 24656: arc lint + arc unit
Event Timeline
sys/sys/qmath.h | ||
---|---|---|
270 | Technically, shouldn't you cast it _before_ inverting it? -(int64_t)(Q_ABS(iv) << Q_NFBITS(q)) |
Comment Actions
Note that I'm committing it without waiting for a proper acceptance due to being a build fix.
sys/sys/qmath.h | ||
---|---|---|
270 | Thanks; fixed. |