|
I tried your fix and got the exact same results in the output file; the condition while(i) at the bottom of the do loop only fails when i is equal to 0, so each pass of the inner loop ranges from 0..255 each time (remembering that i is an unsigned char).
|