mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-07 23:18:14 +01:00
Windows: Fix remaining level 4 warnings.
R=mark@chromium.org Review URL: https://breakpad.appspot.com/954002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1267 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
74f640a92e
commit
4a0f9bf030
2 changed files with 6 additions and 4 deletions
|
|
@ -36,6 +36,8 @@
|
|||
#include <ImageHlp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <limits>
|
||||
|
||||
#include "common/windows/dia_util.h"
|
||||
#include "common/windows/guid_string.h"
|
||||
#include "common/windows/string_utils-inl.h"
|
||||
|
|
@ -390,10 +392,10 @@ bool PDBSourceLineWriter::PrintFrameData() {
|
|||
if (!FindTable(session_, &frame_data_enum))
|
||||
return false;
|
||||
|
||||
DWORD last_type = -1;
|
||||
DWORD last_rva = -1;
|
||||
DWORD last_type = std::numeric_limits<DWORD>::max()
|
||||
DWORD last_rva = std::numeric_limits<DWORD>::max()
|
||||
DWORD last_code_size = 0;
|
||||
DWORD last_prolog_size = -1;
|
||||
DWORD last_prolog_size = std::numeric_limits<DWORD>::max()
|
||||
|
||||
CComPtr<IDiaFrameData> frame_data;
|
||||
ULONG count = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue