Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use bitwise OR with mask for sign extension (#2371)
Sign extend using bitwise OR with mask, instead of unary minus. Fixes error when building for UWP with Security Development Lifecycle (SDL). See https://learn.microsoft.com/en-us/cpp/build/reference/sdl-enable-additional-security-checks?view=msvc-170
- Loading branch information