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:
@@ -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.
|
||||
|
@@ -528,6 +528,7 @@ public:
|
||||
break;
|
||||
|
||||
case NCLWW_UNSELECT:
|
||||
_network_content_client.UnselectAll();
|
||||
this->SetDirty();
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user