summaryrefslogtreecommitdiff
path: root/libusb
diff options
context:
space:
mode:
authorMichael Plante <michael.plante@gmail.com>2010-02-01 17:47:23 -0600
committerPete Batard <pbatard@gmail.com>2010-02-02 22:46:27 +0000
commit44fe2705d4b44f386028c6de49ee3b1f1858e208 (patch)
tree6aeb406162fe3253be459ecd1f41dc52a343a1dd /libusb
parent3bb808f3980e8df4fa85b5bb1b0b3f9e0de25adb (diff)
downloadlibusb-44fe2705d4b44f386028c6de49ee3b1f1858e208.tar.gz
r133: fixed missing LONG_PTR reference using intptr_t instead since that's in one of our headersr133
Diffstat (limited to 'libusb')
-rw-r--r--libusb/os/windows_usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/os/windows_usb.h b/libusb/os/windows_usb.h
index e0ca419..ddf1748 100644
--- a/libusb/os/windows_usb.h
+++ b/libusb/os/windows_usb.h
@@ -92,7 +92,7 @@ inline void upperize(char* str) {
#define ERR_BUFFER_SIZE 256
// Handle code for HID interface that have been claimed ("dibs")
-#define INTERFACE_CLAIMED ((HANDLE)(LONG_PTR)0xD1B5)
+#define INTERFACE_CLAIMED ((HANDLE)(intptr_t)0xD1B5)
// Additional return code for HID operations that completed synchronously
#define LIBUSB_COMPLETED (LIBUSB_SUCCESS + 1)