Follow-up Comment #2, bug #31613 (project avr-libc):

Thanks for your comment, but I cannot see an error in the attached example.
When the code is run and j is watched, it gets the values 10, 8, 6, 4 end so
on, instead of 10, 9, 8 ,7 ... See also the compiler warning "assignment from
incompatible pointer type". When the char pointer is used, all is OK (of
course). But the address of the table could be well beyond $FF (the maximum of
the char pointer).
Where do I miss the point?
Reinier

(file #21976)
    _______________________________________________________

Additional Item Attachment:

File name: readbyte.zip                   Size:7 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?31613>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to