diff options
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 e264235d5..b91150626 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -495,7 +495,7 @@ void Client::gameInit() icon = LoadIcon(GetModuleHandle(nullptr), "A"); if (icon) - SetClassLong(pInfo.window, GCL_HICON, (LONG)(icon)); + SetClassLong(pInfo.window, GCL_HICON, reinterpret_cast<LONG>(icon)); #else mIcon = IMG_Load(iconFile.c_str()); if (mIcon) |