diff options
Diffstat (limited to 'plugins/FloatingContacts')
-rw-r--r-- | plugins/FloatingContacts/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FloatingContacts/src/main.cpp b/plugins/FloatingContacts/src/main.cpp index ff267bbc3c..3cb5102d27 100644 --- a/plugins/FloatingContacts/src/main.cpp +++ b/plugins/FloatingContacts/src/main.cpp @@ -512,7 +512,7 @@ static void CreateThumbWnd(TCHAR *ptszName, MCONTACT hContact, int nX, int nY) return;
pThumb = thumbList.AddThumb(hwnd, ptszName, hContact);
- SetWindowLongPtr(hwnd, GWLP_USERDATA, (long)pThumb);
+ SetWindowLongPtr(hwnd, GWLP_USERDATA, (LONG_PTR)pThumb);
pThumb->ResizeThumb();
pThumb->SetThumbOpacity(fcOpt.thumbAlpha);
|