diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-01 22:12:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-01 22:12:02 +0300 |
commit | e687104042fb89b3609e850e466d5c8441252f9b (patch) | |
tree | 14c1547bcc2e8a94a342dfbc10b29535bbda7977 /src/client.cpp | |
parent | 58b20fa29b8f61c333a90fe38ece7a058b910ea6 (diff) | |
download | manaverse-e687104042fb89b3609e850e466d5c8441252f9b.tar.gz manaverse-e687104042fb89b3609e850e466d5c8441252f9b.tar.bz2 manaverse-e687104042fb89b3609e850e466d5c8441252f9b.tar.xz manaverse-e687104042fb89b3609e850e466d5c8441252f9b.zip |
Fix windows compilation.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 2 |
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) |