diff --git a/src/stacktrace_windows.cpp b/src/stacktrace_windows.cpp index e75cf43..7e31868 100644 --- a/src/stacktrace_windows.cpp +++ b/src/stacktrace_windows.cpp @@ -61,7 +61,7 @@ const std::map kExceptionsAsText = { // Using the given context, fill in all the stack frames. // Which then later can be interpreted to human readable text void captureStackTrace(CONTEXT *context, std::vector &frame_pointers) { - size_t machine_type = 0; + DWORD machine_type = 0; STACKFRAME64 frame = {}; frame.AddrPC.Mode = AddrModeFlat; frame.AddrFrame.Mode = AddrModeFlat;