From 9bd9dafdfc34e49f810f13e6f4346d2750c7b561 Mon Sep 17 00:00:00 2001 From: Adrian Schroeter Date: Wed, 19 Jan 2005 08:20:04 +0000 Subject: [PATCH] fix crash on 64bit systems, missing definition of return type (sizeof(int)!=sizeof(void*) on 64bit). svn path=/trunk/kdebase/kwin/; revision=380005 --- kompmgr/kompmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kompmgr/kompmgr.c b/kompmgr/kompmgr.c index a31336a201..eb63f0ad00 100644 --- a/kompmgr/kompmgr.c +++ b/kompmgr/kompmgr.c @@ -212,7 +212,7 @@ int Gsize = -1; unsigned char *shadowCorner = NULL; unsigned char *shadowTop = NULL; -sXRenderFindVisualFormat(Display *dpy, _Xconst Visual *visual) +XRenderPictFormat* sXRenderFindVisualFormat(Display *dpy, _Xconst Visual *visual) { XRenderPictFormat* format = XRenderFindVisualFormat(dpy,visual); if (format)