diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-04 23:08:51 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 18:36:08 (GMT) |
commit | 5f35f3f19fd12226482f8b57c70d9a0f82470c87 (patch) | |
tree | 35ed4583d8708568a15732e320568048df9e5180 /drivers | |
parent | a8cb9ad9ad872dc600314c1c8d07c420b3cdefbb (diff) | |
download | linux-fsl-qoriq-5f35f3f19fd12226482f8b57c70d9a0f82470c87.tar.xz |
Staging: comedi: adl_pci9118.c: fix unsigned problem with divisors
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/comedi/drivers/adl_pci9118.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/adl_pci9118.c b/drivers/staging/comedi/drivers/adl_pci9118.c index dc4bd04..ccef549 100644 --- a/drivers/staging/comedi/drivers/adl_pci9118.c +++ b/drivers/staging/comedi/drivers/adl_pci9118.c @@ -921,7 +921,8 @@ static int pci9118_ai_cmdtest(struct comedi_device *dev, struct comedi_cmd *cmd) { int err = 0; - int tmp, divisor1 = 0, divisor2 = 0; + int tmp; + unsigned int divisor1 = 0, divisor2 = 0; /* step 1: make sure trigger sources are trivially valid */ |