mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-01 04:04:32 +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
|
|
@ -48,7 +48,7 @@ StaticMapIterator<Key, Value, Compare>::StaticMapIterator(const char* base,
|
|||
// See static_map.h for documentation on
|
||||
// bytes format of serialized StaticMap data.
|
||||
num_nodes_ = *(reinterpret_cast<const int32_t*>(base_));
|
||||
offsets_ = reinterpret_cast<const u_int32_t*>(base_ + sizeof(num_nodes_));
|
||||
offsets_ = reinterpret_cast<const uint32_t*>(base_ + sizeof(num_nodes_));
|
||||
keys_ = reinterpret_cast<const Key*>(
|
||||
base_ + (1 + num_nodes_) * sizeof(num_nodes_));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue