diff options
author | rubidium <rubidium@openttd.org> | 2009-01-23 02:01:05 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-23 02:01:05 +0000 |
commit | 80e59f375fbf693c1bf8658359f1aa3c2482c89e (patch) | |
tree | 1e43f88338690d1359c84c111155e7a20af52a2f /src/network | |
parent | 7809b7ef0ef9f00ea6d729ad2e4de51adc349eb4 (diff) | |
download | openttd-80e59f375fbf693c1bf8658359f1aa3c2482c89e.tar.xz |
(svn r15215) -Fix: various MSVC x64 compiler warnings
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_content.cpp | 2 | ||||
-rw-r--r-- | src/network/network_content_gui.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/network/network_content.cpp b/src/network/network_content.cpp index c263f0ce5..c0e097479 100644 --- a/src/network/network_content.cpp +++ b/src/network/network_content.cpp @@ -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. diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp index d25fde042..398f838da 100644 --- a/src/network/network_content_gui.cpp +++ b/src/network/network_content_gui.cpp @@ -528,6 +528,7 @@ public: break; case NCLWW_UNSELECT: + _network_content_client.UnselectAll(); this->SetDirty(); break; |