[Lldb-commits] [lldb] r235126 - Use the correct type, and silence a warning.

Davide Italiano davide at freebsd.org
Thu Apr 16 11:36:16 PDT 2015


Author: davide
Date: Thu Apr 16 13:36:16 2015
New Revision: 235126

URL: http://llvm.org/viewvc/llvm-project?rev=235126&view=rev
Log:
Use the correct type, and silence a warning.

Modified:
    lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp?rev=235126&r1=235125&r2=235126&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Thu Apr 16 13:36:16 2015
@@ -3677,7 +3677,7 @@ parseRegisters (xmlDocPtr doc, GDBServer
 
     xmlNodePtrVec regs;
     xmlExFindChildren( elm, "reg", regs );
-    for ( int i = 0; i < regs.size( ); i++ ) {
+    for ( unsigned long i = 0; i < regs.size( ); i++ ) {
 
         GdbServerRegisterInfo reg;
         reg.clear( );





More information about the lldb-commits mailing list