diff options
author | scuri <scuri> | 2011-06-21 18:14:16 +0000 |
---|---|---|
committer | scuri <scuri> | 2011-06-21 18:14:16 +0000 |
commit | 5ec504d343ac1fbdee165a12a64d3a2253e8a4a7 (patch) | |
tree | 465ad1e81a57b3fa9d769f0a9e4c2e093ccf2253 /src/gdiplus | |
parent | f6be2614d2bf10ffffafd5e783c4bacfa0ea0923 (diff) |
*** empty log message ***
Diffstat (limited to 'src/gdiplus')
-rw-r--r-- | src/gdiplus/cdwinp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |