From c8a496faaaf4fdd7564d7580c37fe5ffe5e683ab Mon Sep 17 00:00:00 2001 From: Andrey Prygunkov Date: Wed, 26 Mar 2008 18:23:23 +0000 Subject: [PATCH] fixed one warning under gcc --- RemoteClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RemoteClient.cpp b/RemoteClient.cpp index 36abb561..7d999778 100644 --- a/RemoteClient.cpp +++ b/RemoteClient.cpp @@ -683,7 +683,7 @@ bool RemoteClient::RequestPostQueue() static const int EXECUTING_SCRIPT = 5; char szCompleted[100]; szCompleted[0] = '\0'; - if (iStageProgress > 0 && ntohl(pPostQueueAnswer->m_iStage) != EXECUTING_SCRIPT) + if (iStageProgress > 0 && (int)ntohl(pPostQueueAnswer->m_iStage) != EXECUTING_SCRIPT) { sprintf(szCompleted, ", %i%s", (int)(iStageProgress / 10), "%"); }