summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-01 22:12:02 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-01 22:12:02 +0300
commite687104042fb89b3609e850e466d5c8441252f9b (patch)
tree14c1547bcc2e8a94a342dfbc10b29535bbda7977 /src/client.cpp
parent58b20fa29b8f61c333a90fe38ece7a058b910ea6 (diff)
downloadmv-e687104042fb89b3609e850e466d5c8441252f9b.tar.gz
mv-e687104042fb89b3609e850e466d5c8441252f9b.tar.bz2
mv-e687104042fb89b3609e850e466d5c8441252f9b.tar.xz
mv-e687104042fb89b3609e850e466d5c8441252f9b.zip
Fix windows compilation.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index dfd5da7d7..c05c744bc 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -484,7 +484,7 @@ void Client::gameInit()
icon = LoadIcon(GetModuleHandle(nullptr), "A");
if (icon)
- SetClassLong(pInfo.window, GCL_HICON, static_cast<LONG>(icon));
+ SetClassLong(pInfo.window, GCL_HICON, (LONG)(icon));
#else
mIcon = IMG_Load(iconFile.c_str());
if (mIcon)