summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy White <jwhite@codeweavers.com>2012-09-09 10:50:19 -0500
committerJeremy White <jwhite@codeweavers.com>2013-03-21 10:47:22 -0500
commit742a032bcd58534631095dafa89d24c076c43ffe (patch)
tree0488a9c9d523a353f955d8457622ae1259b76490
parenteca99cb6827511a0750e21a09f3f00043966dcc4 (diff)
Eliminate a gcc "cast discards '__attribute__((const))'" warning
-rw-r--r--src/uxa/uxa-accel.c2
-rw-r--r--src/uxa/uxa-priv.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/uxa/uxa-accel.c b/src/uxa/uxa-accel.c
index f7c32b7..b84b2b3 100644
--- a/src/uxa/uxa-accel.c
+++ b/src/uxa/uxa-accel.c
@@ -949,7 +949,7 @@ out:
REGION_DESTROY(pScreen, pReg);
}
-const GCOps uxa_ops = {
+GCOps uxa_ops = {
uxa_fill_spans,
uxa_check_set_spans,
uxa_put_image,
diff --git a/src/uxa/uxa-priv.h b/src/uxa/uxa-priv.h
index e3c581c..694ba45 100644
--- a/src/uxa/uxa-priv.h
+++ b/src/uxa/uxa-priv.h
@@ -291,7 +291,7 @@ void
uxa_get_image(DrawablePtr pDrawable, int x, int y, int w, int h,
unsigned int format, unsigned long planeMask, char *d);
-extern const GCOps uxa_ops;
+extern GCOps uxa_ops;
#ifdef RENDER