diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-04-15 14:13:51 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-04-21 13:43:46 +1000 |
commit | c6212a3e5dc43bd3b5263b392cb75ec96cdf4e4f (patch) | |
tree | dd80d26af05257435cfaa162c1246a97d80ddcc2 /dix | |
parent | 196d679bed2e9959d2fca89d4ee4bbc551681d0b (diff) |
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>
Diffstat (limited to 'dix')
-rw-r--r-- | dix/resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/resource.c b/dix/resource.c index a04f49f6d..eb9f0492a 100644 --- a/dix/resource.c +++ b/dix/resource.c @@ -489,7 +489,7 @@ AddResource(XID id, RESTYPE type, pointer value) rrec = &clientTable[client]; 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); FatalError("client not in use\n"); } |