aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/windows/handler/exception_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/windows/handler/exception_handler.cc b/src/client/windows/handler/exception_handler.cc
index eb778191..e30ec40d 100644
--- a/src/client/windows/handler/exception_handler.cc
+++ b/src/client/windows/handler/exception_handler.cc
@@ -982,7 +982,7 @@ bool ExceptionHandler::WriteMinidumpWithExceptionForProcess(
// The explicit comparison to TRUE avoids a warning (C4800).
success = (minidump_write_dump_(process,
- GetCurrentProcessId(),
+ GetProcessId(process),
dump_file,
dump_type_,
exinfo ? &except_info : NULL,