[Lldb-commits] [lldb] r281309 - Fix linux build after rL281273
Tamas Berghammer via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 13 02:27:21 PDT 2016
Author: tberghammer
Date: Tue Sep 13 04:27:21 2016
New Revision: 281309
URL: http://llvm.org/viewvc/llvm-project?rev=281309&view=rev
Log:
Fix linux build after rL281273
Modified:
lldb/trunk/source/Core/StructuredData.cpp
Modified: lldb/trunk/source/Core/StructuredData.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/StructuredData.cpp?rev=281309&r1=281308&r2=281309&view=diff
==============================================================================
--- lldb/trunk/source/Core/StructuredData.cpp (original)
+++ lldb/trunk/source/Core/StructuredData.cpp Tue Sep 13 04:27:21 2016
@@ -55,7 +55,7 @@ StructuredData::ObjectSP StructuredData:
}
lldb::DataBufferSP input_data;
- size_t num_bytes = SIZE_T_MAX;
+ size_t num_bytes = std::numeric_limits<size_t>::max();
off_t offset = 0;
error = input_file.Read(num_bytes, offset, true, input_data);
if (!error.Success()) {
More information about the lldb-commits
mailing list