mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-29 02:35:31 +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
|
|
@ -116,15 +116,15 @@ WindowsFrameInfo FastSourceLineResolver::CopyWFI(const char *raw) {
|
|||
// The first 8 bytes of int data are unused.
|
||||
// They correspond to "StackInfoTypes type_;" and "int valid;"
|
||||
// data member of WFI.
|
||||
const u_int32_t *para_uint32 = reinterpret_cast<const u_int32_t*>(
|
||||
const uint32_t *para_uint32 = reinterpret_cast<const uint32_t*>(
|
||||
raw + 2 * sizeof(int32_t));
|
||||
|
||||
u_int32_t prolog_size = para_uint32[0];;
|
||||
u_int32_t epilog_size = para_uint32[1];
|
||||
u_int32_t parameter_size = para_uint32[2];
|
||||
u_int32_t saved_register_size = para_uint32[3];
|
||||
u_int32_t local_size = para_uint32[4];
|
||||
u_int32_t max_stack_size = para_uint32[5];
|
||||
uint32_t prolog_size = para_uint32[0];;
|
||||
uint32_t epilog_size = para_uint32[1];
|
||||
uint32_t parameter_size = para_uint32[2];
|
||||
uint32_t saved_register_size = para_uint32[3];
|
||||
uint32_t local_size = para_uint32[4];
|
||||
uint32_t max_stack_size = para_uint32[5];
|
||||
const char *boolean = reinterpret_cast<const char*>(para_uint32 + 6);
|
||||
bool allocates_base_pointer = (*boolean != 0);
|
||||
string program_string = boolean + 1;
|
||||
|
|
@ -146,7 +146,7 @@ WindowsFrameInfo FastSourceLineResolver::CopyWFI(const char *raw) {
|
|||
bool FastSourceLineResolver::Module::LoadMapFromMemory(char *mem_buffer) {
|
||||
if (!mem_buffer) return false;
|
||||
|
||||
const u_int32_t *map_sizes = reinterpret_cast<const u_int32_t*>(mem_buffer);
|
||||
const uint32_t *map_sizes = reinterpret_cast<const uint32_t*>(mem_buffer);
|
||||
|
||||
unsigned int header_size = kNumberMaps_ * sizeof(unsigned int);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue