- From: sinkin <jinzhucheng_at_tom.com>
- Date: Thu, 09 Nov 2006 22:06:38 +0800
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