diff options
author | Jim Ingham <jingham@apple.com> | 2013-07-12 16:16:44 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2013-07-12 16:16:44 +0000 |
commit | 41eec7e475f4c72426e56b663a44c60a2daf839d (patch) | |
tree | bde5394424bf8d13b4aa735465564faddf91f0b2 | |
parent | 525121f9b6559bbfe63c3522159058052b3e0542 (diff) | |
download | bcm5719-llvm-41eec7e475f4c72426e56b663a44c60a2daf839d.tar.gz bcm5719-llvm-41eec7e475f4c72426e56b663a44c60a2daf839d.zip |
The correct max value for size_t variables is SIZE_MAX not UINT64_MAX. Removes lots of warnings when building on 32 bit hosts.
llvm-svn: 186168
-rw-r--r-- | lldb/include/lldb/Interpreter/CommandHistory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/include/lldb/Interpreter/CommandHistory.h b/lldb/include/lldb/Interpreter/CommandHistory.h index 5faaf1cb362..dbe6e99bb5b 100644 --- a/lldb/include/lldb/Interpreter/CommandHistory.h +++ b/lldb/include/lldb/Interpreter/CommandHistory.h @@ -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 = '!'; |