[Lldb-commits] [lldb] r186168 - The correct max value for size_t variables is SIZE_MAX not UINT64_MAX. Removes lots of warnings when building on 32 bit hosts.

Jim Ingham jingham at apple.com
Fri Jul 12 09:16:45 PDT 2013


Author: jingham
Date: Fri Jul 12 11:16:44 2013
New Revision: 186168

URL: http://llvm.org/viewvc/llvm-project?rev=186168&view=rev
Log:
The correct max value for size_t variables is SIZE_MAX not UINT64_MAX.  Removes lots of warnings when building on 32 bit hosts.

Modified:
    lldb/trunk/include/lldb/Interpreter/CommandHistory.h

Modified: lldb/trunk/include/lldb/Interpreter/CommandHistory.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Interpreter/CommandHistory.h?rev=186168&r1=186167&r2=186168&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Interpreter/CommandHistory.h (original)
+++ lldb/trunk/include/lldb/Interpreter/CommandHistory.h Fri Jul 12 11:16:44 2013
@@ -59,7 +59,7 @@ public:
     void
     Dump (Stream& stream,
           size_t start_idx = 0,
-          size_t stop_idx = UINT64_MAX) const;
+          size_t stop_idx = SIZE_MAX) const;
     
     static const char g_repeat_char = '!';
     





More information about the lldb-commits mailing list