From 76e504d1e5a6b7ccbefd2ce7f3aeeb900207f234 Mon Sep 17 00:00:00 2001 From: spx Date: Fri, 1 Mar 2013 19:20:40 +0900 Subject: [PATCH] PluginAPI: Fixed minor mistake --- Plugins/API/RainmeterAPI.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/API/RainmeterAPI.h b/Plugins/API/RainmeterAPI.h index 1f5e3e3a..61b4beb7 100644 --- a/Plugins/API/RainmeterAPI.h +++ b/Plugins/API/RainmeterAPI.h @@ -97,9 +97,9 @@ __inline LPCWSTR RmGetSkinName(void* rm) return (LPCWSTR)RmGet(rm, RMG_SKINNAME); } -__inline void* RmGetSkinWindow(void* rm) +__inline HWND RmGetSkinWindow(void* rm) { - return (void*)RmGet(rm, RMG_SKINWINDOWHANDLE); + return (HWND)RmGet(rm, RMG_SKINWINDOWHANDLE); } __inline void RmLog(int level, LPCWSTR message)