??? 06/24/09 21:11 Read: times |
#166431 - use a cast Responding to: ???'s previous message |
I suspect that your compiler sends the small (<256) number 1 as a char to the printf function which interprets it as an unsigned int. So it reads 0x01FF of which only 0x01 was really sent to it. Try casting the constant to unsigned int.
Maarten |