diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-08-24 09:21:14 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-08-24 09:21:14 +0200 |
commit | d7230939f523610c57f92bdfc72966bdbc6f1070 (patch) | |
tree | d955258ea262e564ec5db7887adf763af0908276 /src/radeon_crtc.c | |
parent | 91c45fedfd155a153dcd2c3f3e30986bfbd44e6f (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.c | 12 |
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); |