the bug of comedi_recognize and comedi_report_boards

Hello
I find the bug of comedi_recognize and comedi_report_boards function.
	name_ptr += driv->offset;
because name_ptr is a pointer to "const char *". so name_ptr will be
added by driv->offset *4.
we can fix it:
	unsigned long ptr = name_ptr;
	.... ....
	ptr += driv->offset;
	name_ptr = ptr;
-- 
-- 

Received on 2006-11-09Z14:06:38