commit | 48d4adfbeb32fcc7f455547d89641cd1fc459361 | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Thu Oct 27 21:26:33 2016 -0700 |
committer | Jason Evans <jasone@canonware.com> | Thu Oct 27 21:26:33 2016 -0700 |
tree | 2ce432ebfd96deefe074ae55a1cccc4d7da9d56e | |
parent | d76cfec319760c71bf3d30b9960c9e666785c461 [diff] |
Avoid negation of unsigned numbers. Rather than relying on two's complement negation for alignment mask generation, use bitwise not and addition. This dodges warnings from MSVC, and should be strength-reduced by compiler optimization anyway.