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.
This commit is contained in:
Carl Worth 2010-03-04 09:46:33 -08:00
parent 1d6537ec57
commit 1cc35a8ba4
1 changed files with 1 additions and 1 deletions

View File

@ -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,