This fixes a type signedness comparison warning-to-error on
gcc-6.4. The ternary operation casts it right but the actual
assignment doesn't.
Details
Details
- compiled on gcc-6.4 amd64
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 34785 Build 31834: arc lint + arc unit
Event Timeline
sbin/nvmecontrol/firmware.c | ||
---|---|---|
180 | I think it would be better to have a new variable that's the right size rather than all the casts. |