projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35dabea
)
In pci230_choose_clk_src(), widen the type of the comparison constant
author
Ian Abbott
<abbotti@mev.co.uk>
Fri, 9 Nov 2007 16:36:32 +0000
(16:36 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Fri, 9 Nov 2007 16:36:32 +0000
(16:36 +0000)
6553600000
from ul to ull.
comedi/drivers/amplc_pci230.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/amplc_pci230.c
b/comedi/drivers/amplc_pci230.c
index dbba6232ed6277a2c31c3378c5742ca22b76d4a9..52a8fb47513be62d64dc988683ca3b23e1441273 100644
(file)
--- 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 <= 6553600000ul
l
)
clk_src = CLK_10KHZ;
else
clk_src = CLK_1KHZ;