[SPIDER]
[reactos.git] / reactos / base / applications / mscutils / eventvwr / eventvwr.c
index 31cecd4..ea0f2cb 100644 (file)
@@ -1594,7 +1594,7 @@ EnumEventsThread(IN LPVOID lpParameter)
                 goto SkipEvent;
 
             /* Get the computer name and filter it */
-            lpszComputerName = (LPWSTR)((LPBYTE)pEvlrBuffer + sizeof(EVENTLOGRECORD) + (wcslen(lpszSourceName) + 1) * sizeof(WCHAR));
+            lpszComputerName = (LPWSTR)(pEvlrBuffer + sizeof(EVENTLOGRECORD) + (wcslen(lpszSourceName) + 1) * sizeof(WCHAR));
             if (!FilterByString(EventLogFilter->ComputerNames, lpszComputerName))
                 goto SkipEvent;