From 284e1943f6726ed08e796f99e49fbd90ac7fa8a4 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Wed, 1 Apr 2009 15:07:01 -0400 Subject: Cast info->sclk to int --- src/radeon_atombios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/radeon_atombios.c') 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; -- cgit v1.2.3