summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)