From fc854786ed73fe768d6a3ca22c02f7013560a930 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Aug 2012 21:35:49 +0300 Subject: Fix code style. --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client.cpp') 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(icon)); #else mIcon = IMG_Load(iconFile.c_str()); if (mIcon) -- cgit v1.2.3-70-g09d2