[PATCH:xrandr 2/2] Use __UNCONST to work around const problem.
Thomas Klausner
wiz at NetBSD.org
Sun Jun 2 12:30:40 PDT 2013
XXX: should probably be fixed differently.
---
xrandr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xrandr.c b/xrandr.c
index da786cb..0b285a3 100644
--- a/xrandr.c
+++ b/xrandr.c
@@ -1524,7 +1524,7 @@ crtc_set_transform (crtc_t *crtc, transform_t *transform)
if (major > 1 || (major == 1 && minor >= 3))
XRRSetCrtcTransform (dpy, crtc->crtc.xid,
&transform->transform,
- transform->filter,
+ __UNCONST(transform->filter),
transform->params,
transform->nparams);
}
--
1.8.2.3
More information about the xorg-devel
mailing list