Kaydet (Commit) 44feea19 authored tarafından Fridrich Štrba's avatar Fridrich Štrba

mingw64: don't cast handle to 32-bit int in a macro

Change-Id: I06063d3c171256c54151be04c810b79bd2d194e1
üst 9a33bfda
...@@ -51,7 +51,7 @@ inline bool IsValidHandle(HANDLE handle) ...@@ -51,7 +51,7 @@ inline bool IsValidHandle(HANDLE handle)
#else /* __cplusplus */ #else /* __cplusplus */
#define IsValidHandle(Handle) ((DWORD)(Handle) + 1 > 1) #define IsValidHandle(Handle) ((DWORD_PTR)(Handle) + 1 > 1)
#endif /* __cplusplus */ #endif /* __cplusplus */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment