summaryrefslogtreecommitdiff
path: root/drivers/smiLynxEM.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/smiLynxEM.c')
-rw-r--r--drivers/smiLynxEM.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/smiLynxEM.c b/drivers/smiLynxEM.c
index 26469e2..94092a3 100644
--- a/drivers/smiLynxEM.c
+++ b/drivers/smiLynxEM.c
@@ -550,7 +550,7 @@ static void smiLoadCcr (struct ctfb_res_modes *var, unsigned short device_id)
smiWrite (SMI_INDX_C4, 0x6b, 0x15);
/* VCLK */
- freq = 1000000000000L / var -> pixclock;
+ freq = 1000000000000LL / var -> pixclock;
FindPQ ((unsigned int)freq, &p, &q);