mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-08 23:48:22 +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
|
|
@ -500,9 +500,9 @@ ParseMaps(CrashedProcess* crashinfo, const MinidumpMemoryRange& range) {
|
|||
fputs("MD_LINUX_MAPS:\n", stderr);
|
||||
fwrite(range.data(), range.length(), 1, stderr);
|
||||
}
|
||||
for (const u_int8_t* ptr = range.data();
|
||||
for (const uint8_t* ptr = range.data();
|
||||
ptr < range.data() + range.length();) {
|
||||
const u_int8_t* eol = (u_int8_t*)memchr(ptr, '\n',
|
||||
const uint8_t* eol = (uint8_t*)memchr(ptr, '\n',
|
||||
range.data() + range.length() - ptr);
|
||||
std::string line((const char*)ptr,
|
||||
eol ? eol - ptr : range.data() + range.length() - ptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue