[PSDK] Fix definition of INVALID_PROCESSTRACE_HANDLE as suggested by Thomas.
authorMark Jansen <mark.jansen@reactos.org>
Sat, 6 Jan 2018 20:09:51 +0000 (21:09 +0100)
committerMark Jansen <mark.jansen@reactos.org>
Sun, 7 Jan 2018 21:29:17 +0000 (22:29 +0100)
#267

sdk/include/psdk/evntrace.h

index dbbc660..7056f11 100644 (file)
@@ -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)