libftdi Archives

Subject: RE: Another approach to get frint formatting right

From: "Michael Plante" <michael.plante@xxxxxxxxx>
To: <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 26 Sep 2010 13:05:17 -0500
Uwe Bonnes wrote:
>> Thanks for Jim Paris for pointing out the wrong approach in my last
>> attempt. It seems however the PRIu64 doesn't play with fprintf(). Or are
>> there other tricks around PRIxNN?

You could just print it as two 32-bit hex numbers, using masks and shifts...

Michael


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread