Maarten Lankhorst : gdi32/user32: Make __wine_make_gdi_object_system CDECL.
Alexandre Julliard
julliard at winehq.org
Wed Dec 17 09:39:49 CST 2008
Module: wine
Branch: master
Commit: a411f25d85c1048eb9f0c287cf066ce9db7eaadd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a411f25d85c1048eb9f0c287cf066ce9db7eaadd
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Tue Dec 16 15:38:49 2008 +0100
gdi32/user32: Make __wine_make_gdi_object_system CDECL.
---
dlls/gdi32/gdiobj.c | 2 +-
dlls/user32/sysparams.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/gdi32/gdiobj.c b/dlls/gdi32/gdiobj.c
index 910f49b..906cd2a 100644
--- a/dlls/gdi32/gdiobj.c
+++ b/dlls/gdi32/gdiobj.c
@@ -442,7 +442,7 @@ static const struct DefaultFontInfo default_fonts[] =
* For a description of the GDI object magics and their flags,
* see "Undocumented Windows" (wrong about the OBJECT_NOSYSTEM flag, though).
*/
-void __wine_make_gdi_object_system( HGDIOBJ handle, BOOL set)
+void CDECL __wine_make_gdi_object_system( HGDIOBJ handle, BOOL set)
{
GDIOBJHDR *ptr = GDI_GetObjPtr( handle, MAGIC_DONTCARE );
diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c
index 5c3bec5..4e48299 100644
--- a/dlls/user32/sysparams.c
+++ b/dlls/user32/sysparams.c
@@ -368,7 +368,7 @@ static const WORD wPattern55AA[] = { 0x5555, 0xaaaa, 0x5555, 0xaaaa, 0x5555, 0xa
HBRUSH SYSCOLOR_55AABrush = 0;
-extern void __wine_make_gdi_object_system( HGDIOBJ handle, BOOL set );
+extern void CDECL __wine_make_gdi_object_system( HGDIOBJ handle, BOOL set );
/* This function is a copy of the one in objects/font.c */
More information about the wine-cvs
mailing list