summaryrefslogtreecommitdiff
path: root/uxa/uxa-render.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-03-04 09:46:33 -0800
committerOwain G. Ainsworth <oga@openbsd.org>2010-04-11 16:59:15 +0100
commitafc3f2664f2ba120ae91ab82c6212b8dc9f776ab (patch)
tree3f09bd69502f841192b068ac415051be27990eb8 /uxa/uxa-render.c
parenta2ca27a01c67937ee740171fbd62716797dcf966 (diff)
uxa: Fix type mismatch to avoid compiler warning.
The code was using uint32_t where an XID (currently an unsigned long) was specified in the prototype. Use XID to avoid both the warning and any potential problem. (cherry picked from commit 1cc35a8ba403ad95b67caff46b803db1edea5ad3) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'uxa/uxa-render.c')
-rw-r--r--uxa/uxa-render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uxa/uxa-render.c b/uxa/uxa-render.c
index 3a3a7858..e70a8450 100644
--- a/uxa/uxa-render.c
+++ b/uxa/uxa-render.c
@@ -495,7 +495,7 @@ uxa_create_solid(ScreenPtr screen, uint32_t color)
{
PixmapPtr pixmap;
PicturePtr picture;
- uint32_t repeat = RepeatNormal;
+ XID repeat = RepeatNormal;
int error = 0;
pixmap = (*screen->CreatePixmap)(screen, 1, 1, 32,