Quote:
|
Originally Posted by Alan Anderson
The %d format specifier wants to see an integer. The rc_dig_in## values are being passed to printf as chars. What you're seeing is the eight char values being printed as four int values.
To fix it, cast the switch values as ints.
|
Ah, of course! How could I forget. Actually, I suppose I forgot because I haven't programmed one of these things in years and my brain isn't at it's peak mental capacity at 1 am. Anyway, thanks for the help.