From: Frank Mori Hess Date: Sun, 7 Oct 2001 20:39:13 +0000 (+0000) Subject: changed type of ni_gainlkup to get rid of compiler's overflow warnings X-Git-Tag: r0_7_61~44 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f55f2668ddf55376c9d1d6b249da4e357d2017d5;p=comedi.git changed type of ni_gainlkup to get rid of compiler's overflow warnings --- diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index e4573f7b..e9815ca5 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -86,7 +86,7 @@ static short ni_modebits1[4]={ 0x3000, 0x2000, 0x1000, 0 }; static short ni_modebits2[4]={ 0x3f, 0x3f, 0x37, 0x37 }; -static char ni_gainlkup[][16]={ +static unsigned int ni_gainlkup[][16]={ { 0, 1, 2, 3, 4, 5, 6, 7, 0x100, 0x101, 0x102, 0x103, 0x104, 0x105, 0x106, 0x107 }, { 1, 2, 4, 7, 0x101, 0x102, 0x104, 0x107 },