Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
windows: cast OVERLAPPED.Internal to NTSTATUS to avoid warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Jun 4, 2012
1 parent 1b75d36 commit 829eaf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win/req-inl.h
Expand Up @@ -38,7 +38,7 @@
SET_REQ_STATUS((req), STATUS_SUCCESS)

#define GET_REQ_STATUS(req) \
((req)->overlapped.Internal)
((NTSTATUS) (req)->overlapped.Internal)

#define REQ_SUCCESS(req) \
(NT_SUCCESS(GET_REQ_STATUS((req))))
Expand Down

0 comments on commit 829eaf3

Please sign in to comment.