[Lldb-commits] [PATCH] D32137: [Utility] Placate another GCC warning
Davide Italiano via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 20 08:08:01 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL300845: [Utility] Placate another GCC warning. (authored by davide).
Changed prior to commit:
https://reviews.llvm.org/D32137?vs=95485&id=95961#toc
Repository:
rL LLVM
https://reviews.llvm.org/D32137
Files:
lldb/trunk/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
Index: lldb/trunk/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
===================================================================
--- lldb/trunk/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
+++ lldb/trunk/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
@@ -55,9 +55,10 @@
m_registers_count[i] = reg_set_ptr->num_registers;
}
- assert(m_num_registers == m_registers_count[gpr_registers_count] +
- m_registers_count[fpr_registers_count] +
- m_registers_count[msa_registers_count]);
+ assert(m_num_registers ==
+ static_cast<uint32_t>(m_registers_count[gpr_registers_count] +
+ m_registers_count[fpr_registers_count] +
+ m_registers_count[msa_registers_count]));
// elf-core yet to support ReadFPR()
ProcessSP base = CalculateProcess();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32137.95961.patch
Type: text/x-patch
Size: 930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170420/79568114/attachment.bin>
More information about the lldb-commits
mailing list