From 5ec504d343ac1fbdee165a12a64d3a2253e8a4a7 Mon Sep 17 00:00:00 2001 From: scuri Date: Tue, 21 Jun 2011 18:14:16 +0000 Subject: *** empty log message *** --- src/gdiplus/cdwinp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gdiplus') diff --git a/src/gdiplus/cdwinp.cpp b/src/gdiplus/cdwinp.cpp index 522f136..2a362d0 100644 --- a/src/gdiplus/cdwinp.cpp +++ b/src/gdiplus/cdwinp.cpp @@ -2745,8 +2745,8 @@ cdCtxCanvas *cdwpCreateCanvas(cdCanvas* canvas, Graphics* graphics, int wtype) } static ULONG_PTR cd_gdiplusToken = NULL; - -static void __stdcall DebugEvent(DebugEventLevel level, char* msg) + +static void __stdcall cd_DebugEvent(int level, char* msg) { (void)level; MessageBox(NULL, msg, "GDI+ Debug", 0); @@ -2758,7 +2758,7 @@ void cdwpGdiPlusStartup(int debug) { GdiplusStartupInput input; if (debug) - input.DebugEventCallback = DebugEvent; + input.DebugEventCallback = (DebugEventProc)cd_DebugEvent; // Initialize GDI+. GdiplusStartup(&cd_gdiplusToken, &input, NULL); -- cgit v1.2.3