From: Frank Mori Hess Date: Tue, 2 Apr 2002 19:55:33 +0000 (+0000) Subject: fixed error checking that tested for unsigned variables being negative X-Git-Tag: r0_7_19~66 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=79614184d3dab67d6469c9fac9dfd02595f2efeb;p=comedilib.git fixed error checking that tested for unsigned variables being negative --- 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;