[Lldb-commits] [lldb] r225540 - Change int32_t to uint32_t to fix warnings.

Zachary Turner zturner at google.com
Fri Jan 9 12:15:21 PST 2015


Author: zturner
Date: Fri Jan  9 14:15:21 2015
New Revision: 225540

URL: http://llvm.org/viewvc/llvm-project?rev=225540&view=rev
Log:
Change int32_t to uint32_t to fix warnings.

Variable was being declared as signed, but treated as unsigned at
every point of use.

Patch by Dan Sinclair
Differential Revision: http://reviews.llvm.org/D6897

Modified:
    lldb/trunk/source/Commands/CommandObjectThread.cpp

Modified: lldb/trunk/source/Commands/CommandObjectThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectThread.cpp?rev=225540&r1=225539&r2=225540&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectThread.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectThread.cpp Fri Jan  9 14:15:21 2015
@@ -454,7 +454,7 @@ public:
         std::string m_avoid_regexp;
         std::string m_step_in_target;
         std::string m_class_name;
-        int32_t m_step_count;
+        uint32_t m_step_count;
     };
 
     CommandObjectThreadStepWithTypeAndScope (CommandInterpreter &interpreter,





More information about the lldb-commits mailing list