From 1cc35a8ba403ad95b67caff46b803db1edea5ad3 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Thu, 4 Mar 2010 09:46:33 -0800 Subject: 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. --- uxa/uxa-render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uxa/uxa-render.c') 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, -- cgit v1.2.3