From 79614184d3dab67d6469c9fac9dfd02595f2efeb Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Tue, 2 Apr 2002 19:55:33 +0000 Subject: [PATCH] fixed error checking that tested for unsigned variables being negative --- demo/eeprom_dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/eeprom_dump.c b/demo/eeprom_dump.c index 5403007..3168666 100644 --- a/demo/eeprom_dump.c +++ b/demo/eeprom_dump.c @@ -41,8 +41,8 @@ int main(int argc, char *argv[]) int read_eeprom(comedi_t *it,unsigned int **eeprom) { - unsigned int subd; - unsigned int n,i,ret; + int subd; + int n,i,ret; lsampl_t data; unsigned int *ptr; lsampl_t maxdata; -- 2.26.2