summaryrefslogtreecommitdiff
path: root/src/radeon_crtc.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-08-24 09:21:14 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-08-24 09:21:14 +0200
commitd7230939f523610c57f92bdfc72966bdbc6f1070 (patch)
treed955258ea262e564ec5db7887adf763af0908276 /src/radeon_crtc.c
parent91c45fedfd155a153dcd2c3f3e30986bfbd44e6f (diff)
64 bit warning fixes.
For printf vs. CARD32, use %u or %x and and a cast to unsigned.
Diffstat (limited to 'src/radeon_crtc.c')
-rw-r--r--src/radeon_crtc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c
index 1b9b2fb9..6211b029 100644
--- a/src/radeon_crtc.c
+++ b/src/radeon_crtc.c
@@ -666,9 +666,9 @@ RADEONInitPLLRegisters(ScrnInfoPtr pScrn, RADEONInfoPtr info,
save->post_div = post_div->divider;
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG,
- "dc=%ld, of=%ld, fd=%d, pd=%d\n",
- save->dot_clock_freq,
- save->pll_output_freq,
+ "dc=%u, of=%u, fd=%d, pd=%d\n",
+ (unsigned)save->dot_clock_freq,
+ (unsigned)save->pll_output_freq,
save->feedback_div,
save->post_div);
@@ -735,9 +735,9 @@ RADEONInitPLL2Registers(ScrnInfoPtr pScrn, RADEONSavePtr save,
save->post_div_2 = post_div->divider;
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG,
- "dc=%ld, of=%ld, fd=%d, pd=%d\n",
- save->dot_clock_freq_2,
- save->pll_output_freq_2,
+ "dc=%u, of=%u, fd=%d, pd=%d\n",
+ (unsigned)save->dot_clock_freq_2,
+ (unsigned)save->pll_output_freq_2,
save->feedback_div_2,
save->post_div_2);