From 83e1288c6a327f711f047aff1e03e5f4a9dfc058 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 23 Jan 2009 02:01:05 +0000 Subject: (svn r15215) -Fix: various MSVC x64 compiler warnings --- src/network/network_content.cpp | 2 +- src/network/network_content_gui.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/network') 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; -- cgit v1.2.3-70-g09d2