fixed one warning under gcc

This commit is contained in:
Andrey Prygunkov
2008-03-26 18:23:23 +00:00
parent 7c858007b3
commit c8a496faaa

View File

@@ -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), "%");
}