mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-02 12:44:38 +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
|
|
@ -455,7 +455,7 @@ bool WriteCVRecord(MinidumpFileWriter *minidump_writer,
|
|||
snprintf(path, sizeof(path), "/proc/self/object/%s", module_name);
|
||||
|
||||
size_t module_name_length = strlen(realname);
|
||||
if (!cv.AllocateObjectAndArray(module_name_length + 1, sizeof(u_int8_t)))
|
||||
if (!cv.AllocateObjectAndArray(module_name_length + 1, sizeof(uint8_t)))
|
||||
return false;
|
||||
if (!cv.CopyIndexAfterObject(0, realname, module_name_length))
|
||||
return false;
|
||||
|
|
@ -522,7 +522,7 @@ bool ModuleInfoCallback(const ModuleInfo &module_info, void *context) {
|
|||
if (!callback_context->minidump_writer->WriteString(realname, 0, &loc))
|
||||
return false;
|
||||
|
||||
module.base_of_image = (u_int64_t)module_info.start_addr;
|
||||
module.base_of_image = (uint64_t)module_info.start_addr;
|
||||
module.size_of_image = module_info.size;
|
||||
module.module_name_rva = loc.rva;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue