summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;