summaryrefslogtreecommitdiff
path: root/library/RemoteClient.cpp
diff options
context:
space:
mode:
authorTimothy Collett2012-09-10 09:19:21 -0400
committerTimothy Collett2012-09-10 09:19:21 -0400
commit274d6038adce5797b58cee78a330eb5d639bf59e (patch)
treea80b541fe5352594f5e2d82da50f0d38ddbfedfe /library/RemoteClient.cpp
parent270351f510db516811117ab746a563560102c14b (diff)
downloaddfhack-274d6038adce5797b58cee78a330eb5d639bf59e.tar.gz
dfhack-274d6038adce5797b58cee78a330eb5d639bf59e.tar.bz2
dfhack-274d6038adce5797b58cee78a330eb5d639bf59e.tar.xz
Merge further changes (???)
Diffstat (limited to 'library/RemoteClient.cpp')
-rw-r--r--library/RemoteClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/RemoteClient.cpp b/library/RemoteClient.cpp
index 4d30988c..09861ad5 100644
--- a/library/RemoteClient.cpp
+++ b/library/RemoteClient.cpp
@@ -394,7 +394,7 @@ command_result RemoteFunctionBase::execute(color_ostream &out,
//out.print("Received %d:%d\n", header.id, header.size);
- if (header.id == RPC_REPLY_FAIL)
+ if ((DFHack::DFHackReplyCode)header.id == RPC_REPLY_FAIL)
return header.size == CR_OK ? CR_FAILURE : command_result(header.size);
if (header.size < 0 || header.size > RPCMessageHeader::MAX_MESSAGE_SIZE)