mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Fixing compile warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191844 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0ab5c6c16b
commit
56849e7a9d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user