Permalink
Browse files

mkWindowClosure should be a stdcall wrapper, not ccall

  • Loading branch information...
1 parent 21754ca commit 1cec35ba92dd1ef6ca80c09e2b4d72273fbf9df0 Simon Marlow committed May 12, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 Graphics/Win32/Window.hsc
View
2 Graphics/Win32/Window.hsc
@@ -176,7 +176,7 @@ maybePos = fromMaybe cW_USEDEFAULT
type WindowClosure = HWND -> WindowMessage -> WPARAM -> LPARAM -> IO LRESULT
-foreign import ccall "wrapper"
+foreign import stdcall "wrapper"
mkWindowClosure :: WindowClosure -> IO (FunPtr WindowClosure)
setWindowClosure :: HWND -> WindowClosure -> IO ()

0 comments on commit 1cec35b

Please sign in to comment.