summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-04-01 15:07:01 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-04-07 11:38:59 -0400
commit284e1943f6726ed08e796f99e49fbd90ac7fa8a4 (patch)
tree83bf399ddc37e530751841280b19c5df5fced12e
parentb580e388e0e31843308c783c1ca859672dc6ca0e (diff)
Cast info->sclk to int
-rw-r--r--src/radeon_atombios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c
index 47f51030..a657fac7 100644
--- a/src/radeon_atombios.c
+++ b/src/radeon_atombios.c
@@ -1398,7 +1398,7 @@ xf86MonPtr radeon_atom_get_edid(xf86OutputPtr output)
AtomBiosArgRec data;
unsigned char *space;
int i2c_clock = 50;
- int engine_clk = info->sclk * 100;
+ int engine_clk = (int)info->sclk * 100;
int prescale;
unsigned char *edid;
xf86MonPtr mon = NULL;