summaryrefslogtreecommitdiff
path: root/Plugins/avatarhistory/popup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/avatarhistory/popup.cpp')
-rw-r--r--Plugins/avatarhistory/popup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Plugins/avatarhistory/popup.cpp b/Plugins/avatarhistory/popup.cpp
index cdc21af..a1319fe 100644
--- a/Plugins/avatarhistory/popup.cpp
+++ b/Plugins/avatarhistory/popup.cpp
@@ -224,7 +224,7 @@ static LRESULT CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPA
case UM_FREEPLUGINDATA:
{
PopupDataType* popup = (PopupDataType*)PUGetPluginData(hWnd);
- if ((unsigned)popup != CALLSERVICE_NOTFOUND)
+ if ((INT_PTR)popup != CALLSERVICE_NOTFOUND)
{
DestroyIcon(popup->hIcon);
mir_free(popup);
@@ -256,7 +256,7 @@ static LRESULT CALLBACK DumbPopupDlgProc(HWND hWnd, UINT message, WPARAM wParam,
case UM_FREEPLUGINDATA:
{
PopupDataType* popup = (PopupDataType*)PUGetPluginData(hWnd);
- if ((unsigned)popup != CALLSERVICE_NOTFOUND)
+ if ((INT_PTR)popup != CALLSERVICE_NOTFOUND)
{
DestroyIcon(popup->hIcon);
mir_free(popup);