summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-11-23 15:26:15 +1000
committerDave Airlie <airlied@redhat.com>2009-11-23 15:26:15 +1000
commit3d7888aa0493f46d826f4d80dea36f1f642f3c6b (patch)
tree8a052ca37922b3d339d76a6b4153b25eeaa24c79
parent3a1a8b7b73424a769baf917bba2223ea6515b596 (diff)
radeon: fix warning in printf
-rw-r--r--src/radeon_kms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index e624f86d..f149e0cc 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -458,9 +458,9 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags)
if (info->exa_low_vram_threshhold_mb < 0 ||
info->exa_low_vram_threshhold_mb > (info->vram_size * 1024 * 1024)) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
- "Illegal Low VRAM limit selected %d, total %lld\n",
+ "Illegal Low VRAM limit selected %d, total %u\n",
info->exa_low_vram_threshhold_mb,
- info->vram_size / (1024*1024));
+ (unsigned int)(info->vram_size / (1024*1024)));
info->exa_low_vram_threshhold_mb = 32;
}
}