fixed error checking that tested for unsigned variables being negative

This commit is contained in:
Frank Mori Hess 2002-04-02 19:55:33 +00:00
parent 80281d3b31
commit 79614184d3

View file

@ -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;