Skip to content

Commit

Permalink
Fix long int overflow on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Costantini committed Aug 8, 2017
1 parent 4b15c30 commit da8f134
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymouse/windows.py
Expand Up @@ -21,8 +21,8 @@
from time import sleep

class POINT(Structure):
_fields_ = [("x", c_ulong),
("y", c_ulong)]
_fields_ = [("x", c_long),
("y", c_long)]

class PyMouse(PyMouseMeta):
"""MOUSEEVENTF_(button and action) constants
Expand Down

0 comments on commit da8f134

Please sign in to comment.