diff options
author | Pete Batard <pbatard@gmail.com> | 2010-03-14 22:51:32 +0000 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-03-14 22:51:32 +0000 |
commit | 78710622a4ccf385950965edc6973c44cb570667 (patch) | |
tree | c0572be04744534c78a5f9053587ee9a0061f039 /libusb | |
parent | 8c1de7a64d44cf8176836a514ba332cde10484a4 (diff) | |
download | libusb-78710622a4ccf385950965edc6973c44cb570667.tar.gz |
fixed NTSTATUS issue with MinGW (Xiaofan Chen)r206
Diffstat (limited to 'libusb')
-rw-r--r-- | libusb/os/poll_windows.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/os/poll_windows.h b/libusb/os/poll_windows.h index 5de9867..97259e9 100644 --- a/libusb/os/poll_windows.h +++ b/libusb/os/poll_windows.h @@ -41,7 +41,7 @@ // Handle synchronous completion through the overlapped structure #if !defined(STATUS_REPARSE) // reuse the REPARSE status code -#define STATUS_REPARSE ((NTSTATUS)0x00000104L) +#define STATUS_REPARSE ((LONG)0x00000104L) #endif #define STATUS_COMPLETED_SYNCHRONOUSLY STATUS_REPARSE #define HasOverlappedIoCompletedSync(lpOverlapped) (((DWORD)(lpOverlapped)->Internal) == STATUS_COMPLETED_SYNCHRONOUSLY) |