From c4ba15b4871c70cced7f1761e24be692cdb28d2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Sat, 3 Oct 2009 16:33:31 +0200 Subject: Fix some compiler warnings. --- src/radeon_kms.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/radeon_kms.c b/src/radeon_kms.c index fa493926..94e62720 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -181,7 +181,7 @@ static Bool RADEONIsAccelWorking(ScrnInfoPtr pScrn) memset(&ginfo, 0, sizeof(ginfo)); ginfo.request = 0x3; - ginfo.value = (uint64_t)&tmp; + ginfo.value = (uintptr_t)&tmp; r = drmCommandWriteRead(info->dri->drmFD, DRM_RADEON_INFO, &ginfo, sizeof(ginfo)); if (r) return FALSE; @@ -434,7 +434,9 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags) info->gart_size = mminfo.gart_size; xf86DrvMsg(pScrn->scrnIndex, X_INFO, "mem size init: gart size :%llx vram size: s:%llx visible:%llx\n", - mminfo.gart_size, mminfo.vram_size, mminfo.vram_visible); + (unsigned long long)mminfo.gart_size, + (unsigned long long)mminfo.vram_size, + (unsigned long long)mminfo.vram_visible); } } #if 0 -- cgit v1.2.3