[Lldb-commits] [lldb] r355651 - Make bytes_read an unsigned
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 7 14:59:55 PST 2019
Author: jdevlieghere
Date: Thu Mar 7 14:59:55 2019
New Revision: 355651
URL: http://llvm.org/viewvc/llvm-project?rev=355651&view=rev
Log:
Make bytes_read an unsigned
Modified:
lldb/trunk/tools/lldb-vscode/IOStream.cpp
Modified: lldb/trunk/tools/lldb-vscode/IOStream.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-vscode/IOStream.cpp?rev=355651&r1=355650&r2=355651&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-vscode/IOStream.cpp (original)
+++ lldb/trunk/tools/lldb-vscode/IOStream.cpp Thu Mar 7 14:59:55 2019
@@ -95,7 +95,7 @@ bool InputStream::read_full(std::ofstrea
char *ptr = &data[0];
while (length != 0) {
- int bytes_read = 0;
+ size_t bytes_read = 0;
if (descriptor.m_is_socket)
bytes_read = ::recv(descriptor.m_socket, ptr, length, 0);
else
More information about the lldb-commits
mailing list