Really fix the type mismatch error in GDBRemoteCommunicationServerCommon
authorPavel Labath <pavel@labath.sk>
Mon, 26 Aug 2019 13:56:33 +0000 (13:56 +0000)
committerPavel Labath <pavel@labath.sk>
Mon, 26 Aug 2019 13:56:33 +0000 (13:56 +0000)
commit341df3f13aed19fd32ae93f33d921796f2946e49
tree9e5bf359587b1849bf958f80c91e701adef7f88b
parent298c0b352d5ed998c91328f5023fb192c688e1ed
Really fix the type mismatch error in GDBRemoteCommunicationServerCommon

My previous attempt in attempt in r369904 actually broke the 32bit build
because File::Read expects to take a reference to size_t. Fix the
warning by using SIZE_MAX to denote failure instead.

llvm-svn: 369910
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp