summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-07-29 21:25:15 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-07-29 21:25:15 +0000
commitdaabbc7ce7977b5bc0d38281a10e9b6e8a15b1bb (patch)
tree536a92fb6274984f55985d3cdbaefaa21285fc35
parent102482a94b10132588fb6ae571ad369138460f55 (diff)
x64 signature fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@1255 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/Scriver/src/infobar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/infobar.cpp b/plugins/Scriver/src/infobar.cpp
index a540606996..57209c47c7 100644
--- a/plugins/Scriver/src/infobar.cpp
+++ b/plugins/Scriver/src/infobar.cpp
@@ -100,7 +100,7 @@ void RefreshInfobar(InfobarWindowData* idat) {
mir_free(szXStatusMsg);
}
-static LRESULT CALLBACK InfobarWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK InfobarWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
static BOOL bWasCopy;
InfobarWindowData* idat = (InfobarWindowData *) GetWindowLongPtr(hwnd, GWLP_USERDATA);
@@ -286,7 +286,7 @@ InfobarWindowData *CreateInfobar(HWND hParent, struct SrmmWindowData *dat)
{
InfobarWindowData *idat = (InfobarWindowData *) mir_alloc(sizeof(InfobarWindowData));
idat->mwd = dat;
- idat->hWnd = CreateDialogParam(g_hInst, MAKEINTRESOURCE(IDD_INFOBAR), hParent, (DLGPROC)InfobarWndProc, (LPARAM)idat);
+ idat->hWnd = CreateDialogParam(g_hInst, MAKEINTRESOURCE(IDD_INFOBAR), hParent, InfobarWndProc, (LPARAM)idat);
RichUtil_SubClass(idat->hWnd);
SetWindowPos(idat->hWnd, HWND_TOP, 0, 0, 0, 0, SWP_HIDEWINDOW | SWP_NOSIZE | SWP_NOREPOSITION);
return idat;