mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-26 01:05:07 +01:00
Let breakpad build with -Wall on OS X and Linux.
A=thakis@chromium.org Original Review: https://codereview.chromium.org/1550933002/ R=thakis@chromium.org Review URL: https://codereview.chromium.org/1554613002 .
This commit is contained in:
parent
1be3027941
commit
257123ca70
9 changed files with 14 additions and 29 deletions
|
|
@ -165,19 +165,10 @@ static void Swap(uint128_struct* value) {
|
|||
}
|
||||
|
||||
// Swapping signed integers
|
||||
static inline void Swap(int16_t* value) {
|
||||
Swap(reinterpret_cast<uint16_t*>(value));
|
||||
}
|
||||
|
||||
static inline void Swap(int32_t* value) {
|
||||
Swap(reinterpret_cast<uint32_t*>(value));
|
||||
}
|
||||
|
||||
static inline void Swap(int64_t* value) {
|
||||
Swap(reinterpret_cast<uint64_t*>(value));
|
||||
}
|
||||
|
||||
|
||||
static inline void Swap(MDLocationDescriptor* location_descriptor) {
|
||||
Swap(&location_descriptor->data_size);
|
||||
Swap(&location_descriptor->rva);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue