The first field in a MDLocationDescriptor is a u_int32_t, so change this cast
to the correct type. This fixes an error newer clang versions find in c++ 0x mode. Patch by Rafael Ávila de Espíndola <respindola@mozilla.com> https://bugzilla.mozilla.org/show_bug.cgi?id=677641 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@824 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
8f2b058398
commit
e6c0689091
1 changed files with 2 additions and 1 deletions
|
@ -151,7 +151,8 @@ class UntypedMDRVA {
|
|||
|
||||
// Return size and position
|
||||
inline MDLocationDescriptor location() const {
|
||||
MDLocationDescriptor location = { static_cast<int>(size_), position_ };
|
||||
MDLocationDescriptor location = { static_cast<u_int32_t>(size_),
|
||||
position_ };
|
||||
return location;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue