mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-04 13:44:33 +01:00
Use stdint types everywhere
R=mark at https://breakpad.appspot.com/535002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1121 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
c02002a581
commit
aeffe1056f
117 changed files with 1385 additions and 1379 deletions
|
|
@ -53,10 +53,10 @@ using google_breakpad::MinidumpMiscInfo;
|
|||
using google_breakpad::MinidumpBreakpadInfo;
|
||||
|
||||
static void DumpRawStream(Minidump *minidump,
|
||||
u_int32_t stream_type,
|
||||
uint32_t stream_type,
|
||||
const char *stream_name,
|
||||
int *errors) {
|
||||
u_int32_t length = 0;
|
||||
uint32_t length = 0;
|
||||
if (!minidump->SeekToStreamType(stream_type, &length)) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -78,7 +78,7 @@ static void DumpRawStream(Minidump *minidump,
|
|||
size_t remaining = length - current_offset;
|
||||
// Printf requires an int and direct casting from size_t results
|
||||
// in compatibility warnings.
|
||||
u_int32_t int_remaining = remaining;
|
||||
uint32_t int_remaining = remaining;
|
||||
printf("%.*s", int_remaining, &contents[current_offset]);
|
||||
char *next_null = reinterpret_cast<char *>(
|
||||
memchr(&contents[current_offset], 0, remaining));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue