From f55f2668ddf55376c9d1d6b249da4e357d2017d5 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 7 Oct 2001 20:39:13 +0000 Subject: [PATCH] changed type of ni_gainlkup to get rid of compiler's overflow warnings --- comedi/drivers/ni_mio_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }, -- 2.26.2