diff src/dialog-msw.c @ 5921:68639fb08af8 cygwin

no obvious 64 vs. 32 pblms in compilation, but still crashing in event-msw
author Henry Thompson <ht@markup.co.uk>
date Wed, 23 Apr 2014 22:22:37 +0100
parents 0f2338afbabf
children
line wrap: on
line diff
--- a/src/dialog-msw.c	Mon Apr 21 11:42:50 2014 +0100
+++ b/src/dialog-msw.c	Wed Apr 23 22:22:37 2014 +0100
@@ -760,8 +760,8 @@
     did->hwnd =
       qxeCreateDialogIndirectParam (NULL,
 				    (LPDLGTEMPLATE) Dynarr_begin (template_),
-				    FRAME_MSWINDOWS_HANDLE (f), dialog_proc,
-				    (LPARAM) STORE_LISP_IN_VOID (obj));
+				    FRAME_MSWINDOWS_HANDLE (f), (DLGPROC)dialog_proc,
+				    (intptr_t) STORE_LISP_IN_VOID (obj));
     if (!did->hwnd)
       /* Something went wrong creating the dialog */
       signal_error (Qdialog_box_error, "Creating dialog", keys);