Joerg Wunsch wrote:

As Joerg Wunsch wrote:
I've analyzed and found that.  It turned out to be a signedness
problem: shifting an unsigned char left causes it to be promoted to an
int which is signed.  This had the effect of 0xf3 becoming a negative
number, which was then misinterpreted as an overly large unsigned
number.

Occasionally, the C standard can be absolutely stupid.


Fix committed to CVS.
Congratulations on finding it and fixing it!

Thanks
Eric


_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to