summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lli/RemoteTargetExternal.cpp
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2013-10-02 18:00:34 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2013-10-02 18:00:34 +0000
commit004e12ff7b0d5adb3d340ef0cf164cc06d4088e4 (patch)
treed5f9d3c1be594c94bf91253922d97184b85e01bb /llvm/tools/lli/RemoteTargetExternal.cpp
parentc2ebf3f51777031b3fc5169708ef244ce8c2d5a5 (diff)
downloadbcm5719-llvm-004e12ff7b0d5adb3d340ef0cf164cc06d4088e4.tar.gz
bcm5719-llvm-004e12ff7b0d5adb3d340ef0cf164cc06d4088e4.zip
Fixing compile warnings
llvm-svn: 191844
Diffstat (limited to 'llvm/tools/lli/RemoteTargetExternal.cpp')
-rw-r--r--llvm/tools/lli/RemoteTargetExternal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/lli/RemoteTargetExternal.cpp b/llvm/tools/lli/RemoteTargetExternal.cpp
index 59ad2d34329..742a948c004 100644
--- a/llvm/tools/lli/RemoteTargetExternal.cpp
+++ b/llvm/tools/lli/RemoteTargetExternal.cpp
@@ -123,7 +123,7 @@ void RemoteTargetExternal::Receive(LLIMessageType ExpectedMsgType) {
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(LLIMessageType ExpectedMsgType, uint64_t &Dat
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);
OpenPOWER on IntegriCloud