Author: tkrasnukha Date: Mon Feb 25 10:23:44 2019 New Revision: 354803 URL: http://llvm.org/viewvc/llvm-project?rev=354803&view=rev Log: [lldb-mi] Fix conversion warning for 64-bit build
Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBDebugger.cpp Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBDebugger.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBDebugger.cpp?rev=354803&r1=354802&r2=354803&view=diff ============================================================================== --- lldb/trunk/tools/lldb-mi/MICmnLLDBDebugger.cpp (original) +++ lldb/trunk/tools/lldb-mi/MICmnLLDBDebugger.cpp Mon Feb 25 10:23:44 2019 @@ -558,7 +558,7 @@ bool CMICmnLLDBDebugger::UnregisterForEv ClientGetMaskForAllClients(vBroadcasterClass); MIuint newEventMask = 0; for (MIuint i = 0; i < 32; i++) { - const MIuint bit = 1 << i; + const MIuint bit = MIuint(1) << i; const MIuint clientBit = bit & clientsEventMask; const MIuint othersBit = bit & otherClientsEventMask; if ((clientBit != 0) && (othersBit == 0)) { _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits