From e687104042fb89b3609e850e466d5c8441252f9b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 1 Apr 2012 22:12:02 +0300 Subject: Fix windows compilation. --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(icon)); + SetClassLong(pInfo.window, GCL_HICON, (LONG)(icon)); #else mIcon = IMG_Load(iconFile.c_str()); if (mIcon) -- cgit v1.2.3-70-g09d2