[llvm] r191844 - Fixing compile warnings
Andrew Kaylor
andrew.kaylor at intel.com
Wed Oct 2 11:00:35 PDT 2013
Author: akaylor
Date: Wed Oct 2 13:00:34 2013
New Revision: 191844
URL: http://llvm.org/viewvc/llvm-project?rev=191844&view=rev
Log:
Fixing compile warnings
Modified:
llvm/trunk/tools/lli/RemoteTargetExternal.cpp
Modified: llvm/trunk/tools/lli/RemoteTargetExternal.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lli/RemoteTargetExternal.cpp?rev=191844&r1=191843&r2=191844&view=diff
==============================================================================
--- llvm/trunk/tools/lli/RemoteTargetExternal.cpp (original)
+++ llvm/trunk/tools/lli/RemoteTargetExternal.cpp Wed Oct 2 13:00:34 2013
@@ -123,7 +123,7 @@ void RemoteTargetExternal::Receive(LLIMe
uint32_t MsgType;
rc = ReadBytes(&MsgType, 4);
assert(rc == 4 && "Error reading message type.");
- assert(MsgType == ExpectedMsgType && "Error: received unexpected message type.");
+ assert(MsgType == (uint32_t)ExpectedMsgType && "Error: received unexpected message type.");
uint32_t DataSize;
rc = ReadBytes(&DataSize, 4);
@@ -142,7 +142,7 @@ void RemoteTargetExternal::Receive(LLIMe
uint32_t MsgType;
rc = ReadBytes(&MsgType, 4);
assert(rc == 4 && "Error reading message type.");
- assert(MsgType == ExpectedMsgType && "Error: received unexpected message type.");
+ assert(MsgType == (uint32_t)ExpectedMsgType && "Error: received unexpected message type.");
uint32_t DataSize;
rc = ReadBytes(&DataSize, 4);
More information about the llvm-commits
mailing list