summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-03-04 09:46:33 -0800
committerCarl Worth <cworth@cworth.org>2010-03-04 09:46:33 -0800
commit1cc35a8ba403ad95b67caff46b803db1edea5ad3 (patch)
tree5e7114296c33c9aa0b8c75e0acd2e96779f15db7
parent1d6537ec57535183638c62e3099bc79786c682ca (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.
-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,