
8 Jan
2008
8 Jan
'08
10:07 a.m.
JG> I can't really comment on the necessity of these particular JG> statements, but is there a way for use to print that value in a JG> platform-independent way? Yep, see inttypes.h. "%hhu" was intended to be a byte, so PRIu8 would be the appropriate selection here, used as follows: printf("Here is my byte: %" PRIu8 "\n", my_byte); -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com