Closed Pathoschild closed 3 years ago
KeyboardInput casts addresses to int when initializing, which causes an arithmetic overflow if they're outside the 32-bit range. This commit replaces SetWindowLong (which is 32-bit only) with SetWindowLongPtr to avoid that.
KeyboardInput
SetWindowLong
SetWindowLongPtr
KeyboardInput
casts addresses to int when initializing, which causes an arithmetic overflow if they're outside the 32-bit range. This commit replacesSetWindowLong
(which is 32-bit only) withSetWindowLongPtr
to avoid that.