summaryrefslogtreecommitdiffstats
path: root/src/VBox/Runtime/r3/win/process-win.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Runtime/r3/win/process-win.cpp')
-rw-r--r--src/VBox/Runtime/r3/win/process-win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Runtime/r3/win/process-win.cpp b/src/VBox/Runtime/r3/win/process-win.cpp
index 18ed9ab0..8f84d231 100644
--- a/src/VBox/Runtime/r3/win/process-win.cpp
+++ b/src/VBox/Runtime/r3/win/process-win.cpp
@@ -730,7 +730,7 @@ static bool rtProcWinFindTokenByProcess(const char * const *papszNames, PSID pSi
for (size_t i = 0; papszNames[i] && !fFound; i++)
{
PROCESSENTRY32W ProcEntry;
- ProcEntry.dwSize = sizeof(PROCESSENTRY32);
+ ProcEntry.dwSize = sizeof(ProcEntry);
ProcEntry.szExeFile[0] = '\0';
if (g_pfnProcess32FirstW(hSnap, &ProcEntry))
{