Module Name: xsrc
Committed By: jakllsch
Date: Tue May 24 21:27:01 UTC 2011
Modified Files:
xsrc/xfree/xc/programs/Xserver/hw/netbsd/dec: decCursor.c
Log Message:
Take address of structure element rather than casting,
like is done in the amiga version of this code.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
xsrc/xfree/xc/programs/Xserver/hw/netbsd/dec/decCursor.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/xfree/xc/programs/Xserver/hw/netbsd/dec/decCursor.c
diff -u xsrc/xfree/xc/programs/Xserver/hw/netbsd/dec/decCursor.c:1.5 xsrc/xfree/xc/programs/Xserver/hw/netbsd/dec/decCursor.c:1.6
--- xsrc/xfree/xc/programs/Xserver/hw/netbsd/dec/decCursor.c:1.5 Tue May 24 19:37:25 2011
+++ xsrc/xfree/xc/programs/Xserver/hw/netbsd/dec/decCursor.c Tue May 24 21:27:00 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: decCursor.c,v 1.5 2011/05/24 19:37:25 christos Exp $ */
+/* $NetBSD: decCursor.c,v 1.6 2011/05/24 21:27:00 jakllsch Exp $ */
/* XConsortium: sunCursor.c,v 5.19 94/04/17 20:29:35 gildea Exp */
/*
@@ -112,7 +112,7 @@
box.x2 = w;
box.y2 = h;
REGION_INIT(pScreen, &rgnDst, &box, 1);
- mfbDoBitblt((DrawablePtr)src, (DrawablePtr)dst, GXcopy, &rgnDst, ptSrc);
+ mfbDoBitblt(&src->drawable, &dst->drawable, GXcopy, &rgnDst, ptSrc);
REGION_UNINIT(pScreen, &rgnDst);
FreeScratchPixmapHeader(src);
FreeScratchPixmapHeader(dst);