On 12 Dec 2014, at 5:22 PM, Paul Hargrove wrote:

> HOWEVER, while the patch catches the "%u" case, there are plenty of potential 
> ways to hit the same problem if, for instance, one uses "%zu" for size_t.  
> Additionally, I've already noted that the code for "%ld", "%lx", "%lX", "%lf" 
> are all currently incorrect.


Not sure if it is applicable, but C99 has an <inttypes.h> header which 
#include's <stdint.h> and provides additional capabilities, such as 
printf()/scanf() format macros for the types defined in <stdint.h>.

Larry Baker
US Geological Survey
650-329-5608
ba...@usgs.gov

Reply via email to