summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-23 02:01:05 +0000
committerrubidium <rubidium@openttd.org>2009-01-23 02:01:05 +0000
commit83e1288c6a327f711f047aff1e03e5f4a9dfc058 (patch)
tree1e43f88338690d1359c84c111155e7a20af52a2f /src/network
parent92f5c6b1da1b369e4518fc1f59b30feb9c771c30 (diff)
downloadopenttd-83e1288c6a327f711f047aff1e03e5f4a9dfc058.tar.xz
(svn r15215) -Fix: various MSVC x64 compiler warnings
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_content.cpp2
-rw-r--r--src/network/network_content_gui.cpp1
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;