From 78710622a4ccf385950965edc6973c44cb570667 Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Sun, 14 Mar 2010 22:51:32 +0000 Subject: fixed NTSTATUS issue with MinGW (Xiaofan Chen) --- libusb/os/poll_windows.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1