dix: silence compiler warning
resource.c: In function 'AddResource': resource.c:493:3: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'RESTYPE' RESTYPE is uint32_t, not long. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
196d679bed
commit
c6212a3e5d
|
@ -489,7 +489,7 @@ AddResource(XID id, RESTYPE type, pointer value)
|
||||||
rrec = &clientTable[client];
|
rrec = &clientTable[client];
|
||||||
if (!rrec->buckets)
|
if (!rrec->buckets)
|
||||||
{
|
{
|
||||||
ErrorF("[dix] AddResource(%lx, %lx, %lx), client=%d \n",
|
ErrorF("[dix] AddResource(%lx, %x, %lx), client=%d \n",
|
||||||
(unsigned long)id, type, (unsigned long)value, client);
|
(unsigned long)id, type, (unsigned long)value, client);
|
||||||
FatalError("client not in use\n");
|
FatalError("client not in use\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user