summaryrefslogtreecommitdiff
path: root/tools/lli
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
commit56849e7a9daaf1de00ab2b24c0a62a93add7eb4d (patch)
tree9cdfcb6f627e3048b0665e53d9b85e5c8a92db16 /tools/lli
parent0ab5c6c16b1b09d76c3ba2d70443b10bcc26169c (diff)
downloadllvm-56849e7a9daaf1de00ab2b24c0a62a93add7eb4d.tar.gz
llvm-56849e7a9daaf1de00ab2b24c0a62a93add7eb4d.tar.bz2
llvm-56849e7a9daaf1de00ab2b24c0a62a93add7eb4d.tar.xz
Fixing compile warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lli')
-rw-r--r--tools/lli/RemoteTargetExternal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lli/RemoteTargetExternal.cpp b/tools/lli/RemoteTargetExternal.cpp
index 59ad2d3432..742a948c00 100644
--- a/tools/lli/RemoteTargetExternal.cpp
+++ b/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);