https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e3459ec36ecd783d67c27…
commit e3459ec36ecd783d67c27dac4e81ad9facc08605
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Sat Jan 6 21:09:51 2018 +0100
[PSDK] Fix definition of INVALID_PROCESSTRACE_HANDLE as suggested by Thomas.
#267
---
sdk/include/psdk/evntrace.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/include/psdk/evntrace.h b/sdk/include/psdk/evntrace.h
index dbbc660963..7056f119fa 100644
--- a/sdk/include/psdk/evntrace.h
+++ b/sdk/include/psdk/evntrace.h
@@ -711,7 +711,7 @@ typedef struct _ENABLE_TRACE_PARAMETERS {
PEVENT_FILTER_DESCRIPTOR EnableFilterDesc;
} ENABLE_TRACE_PARAMETERS, *PENABLE_TRACE_PARAMETERS;
-#define INVALID_PROCESSTRACE_HANDLE ((TRACEHANDLE)INVALID_HANDLE_VALUE)
+#define INVALID_PROCESSTRACE_HANDLE ((TRACEHANDLE)(ULONG_PTR)INVALID_HANDLE_VALUE)
#if defined(UNICODE) || defined(_UNICODE)