1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 12:39:11 +00:00

(svn r15215) -Fix: various MSVC x64 compiler warnings

This commit is contained in:
rubidium
2009-01-23 02:01:05 +00:00
parent 92f5c6b1da
commit 83e1288c6a
5 changed files with 6 additions and 5 deletions

View File

@@ -380,7 +380,7 @@ DEF_CONTENT_RECEIVE_COMMAND(Client, PACKET_CONTENT_SERVER_CONTENT)
return false;
}
this->OnDownloadProgress(this->curInfo, toRead);
this->OnDownloadProgress(this->curInfo, (uint)toRead);
if (toRead == 0) {
/* We read nothing; that's our marker for end-of-stream.

View File

@@ -528,6 +528,7 @@ public:
break;
case NCLWW_UNSELECT:
_network_content_client.UnselectAll();
this->SetDirty();
break;