From: Ian Abbott Date: Fri, 9 Nov 2007 16:36:32 +0000 (+0000) Subject: In pci230_choose_clk_src(), widen the type of the comparison constant X-Git-Tag: v0_7_76~74 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7cc78cd2c0ddb45535d9e0c28ededa44ae8dcb87;p=comedi.git In pci230_choose_clk_src(), widen the type of the comparison constant 6553600000 from ul to ull. --- diff --git a/comedi/drivers/amplc_pci230.c b/comedi/drivers/amplc_pci230.c index dbba6232..52a8fb47 100644 --- a/comedi/drivers/amplc_pci230.c +++ b/comedi/drivers/amplc_pci230.c @@ -1490,7 +1490,7 @@ static unsigned int pci230_choose_clk_src(uint64_t ns) clk_src = CLK_1MHZ; else if (ns <= 655360000u) clk_src = CLK_100KHZ; - else if (ns <= 6553600000ul) + else if (ns <= 6553600000ull) clk_src = CLK_10KHZ; else clk_src = CLK_1KHZ;