diff -r 22e5a85ba840 Lib/ctypes/wintypes.py --- a/Lib/ctypes/wintypes.py Sat Jul 12 22:20:15 2014 -0700 +++ b/Lib/ctypes/wintypes.py Sun Jul 13 15:41:31 2014 +0100 @@ -1,7 +1,7 @@ # The most useful windows datatypes import ctypes -BYTE = ctypes.c_byte +BYTE = ctypes.c_ubyte WORD = ctypes.c_ushort DWORD = ctypes.c_ulong