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 Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/sys/qmath.h | ||
---|---|---|
270 ↗ | (On Diff #61366) | 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 ↗ | (On Diff #61366) | Thanks; fixed. |