Skip to content
Commit 48d4adfb authored by Jason Evans's avatar Jason Evans
Browse files

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.
parent d76cfec3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment