diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-05-24 00:44:33 +0000 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-05-24 00:44:33 +0000 |
| commit | 09ad8c8f73dbc64efada18e7ae2f9b64eb1be215 (patch) | |
| tree | 58cbfec2928c0ff577927df4c7096d141069da4f /lldb/source/Plugins/Process/MacOSX-Kernel | |
| parent | 060f4b48d55c761de2722c0b7387966d1e8ede0c (diff) | |
| download | bcm5719-llvm-09ad8c8f73dbc64efada18e7ae2f9b64eb1be215.tar.gz bcm5719-llvm-09ad8c8f73dbc64efada18e7ae2f9b64eb1be215.zip | |
Fix integer literals which are cast to bool
This change replaces built-in types that are implicitly converted to
booleans.
Differential revision: https://reviews.llvm.org/D62284
llvm-svn: 361580
Diffstat (limited to 'lldb/source/Plugins/Process/MacOSX-Kernel')
| -rw-r--r-- | lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp b/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp index ded0983fac7..1a75326f3b2 100644 --- a/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp +++ b/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp @@ -87,7 +87,7 @@ bool CommunicationKDP::SendRequestAndGetReply( for (uint32_t i = 0; i < num_retries; ++i) { if (SendRequestPacketNoLock(request_packet)) { const uint8_t request_sequence_id = (uint8_t)request_packet.GetData()[1]; - while (1) { + while (true) { if (WaitForPacketWithTimeoutMicroSecondsNoLock( reply_packet, std::chrono::microseconds(GetPacketTimeout()).count())) { |

