[z88dk-dev] sccz80 bug with pointer casting

Bridge to the z88dk-developers mailing list
Post Reply
alvin
Well known member
Posts: 1872
Joined: Mon Jul 16, 2007 7:39 pm

[z88dk-dev] sccz80 bug with pointer casting

Post by alvin »

A new bug found with pointer casting in case someone wants a crack at it over the next several days:

http://www.z88dk.org/forum/viewtopic.php?id=9165

"i" starts as an int and when the code casts to char* it looks like the compiler makes it int* instead so that two bytes are written instead of one.



------------------------------------------------------------------------------
Post Reply