fix crash on 64bit systems, missing definition of return type (sizeof(int)!=sizeof(void*) on 64bit).

svn path=/trunk/kdebase/kwin/; revision=380005
This commit is contained in:
Adrian Schroeter 2005-01-19 08:20:04 +00:00
parent 9efa0bdbf5
commit 9bd9dafdfc

View file

@ -212,7 +212,7 @@ int Gsize = -1;
unsigned char *shadowCorner = NULL; unsigned char *shadowCorner = NULL;
unsigned char *shadowTop = NULL; unsigned char *shadowTop = NULL;
sXRenderFindVisualFormat(Display *dpy, _Xconst Visual *visual) XRenderPictFormat* sXRenderFindVisualFormat(Display *dpy, _Xconst Visual *visual)
{ {
XRenderPictFormat* format = XRenderFindVisualFormat(dpy,visual); XRenderPictFormat* format = XRenderFindVisualFormat(dpy,visual);
if (format) if (format)