diff options
Diffstat (limited to 'libusb/os/poll_windows.h')
-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 fb79153..cfdc58a 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) |