commit | 137e5230e8dfb1287dd7c5eaa943a39078e1fd8d | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Tue Feb 21 18:37:14 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Tue Feb 21 18:37:14 2012 +0000 |
tree | ecb30f44d3cad81fe64849882b0cb24caa5763f0 | |
parent | 2d9c2d447270048f0672280f75f76e7d62b9b5b7 [diff] [blame] |
Remove a ton of implicit narrowing conversions for C++11 compatibility. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151071 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp b/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp index f1cb915..8cca120 100644 --- a/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp +++ b/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp
@@ -106,7 +106,7 @@ cursor.pc = reg_ctx->GetPC (LLDB_INVALID_ADDRESS); cursor.fp = reg_ctx->GetFP (0); - Frame_i386 frame = { cursor.fp, cursor.pc }; + Frame_i386 frame = { static_cast<uint32_t>(cursor.fp), static_cast<uint32_t>(cursor.pc) }; m_cursors.push_back(cursor);