From 7cc78cd2c0ddb45535d9e0c28ededa44ae8dcb87 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Fri, 9 Nov 2007 16:36:32 +0000 Subject: [PATCH] In pci230_choose_clk_src(), widen the type of the comparison constant 6553600000 from ul to ull. --- comedi/drivers/amplc_pci230.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.26.2