clang 7 warns about the negative array index. Try to implement the same
logic without invoking undefined behaviour.
Details
Details
There is no difference in the disassembly before and after this change.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
This matches what I puzzled out the right fix should be, and is a bit better than what I had in mind before this problem slipped away...