[PATCH] Use proper print formatter in main function in fixincl.c

Joseph Myers joseph@codesourcery.com
Thu Dec 20 00:20:00 GMT 2018


This patch is wrong for multiple reasons (the %d you're changing is for an 
int argument, so is correct as-is, and %lu is not portable for size_t, so 
since we may not be able to assume C99 %zu on the host you'd need to cast 
the ttl_data_size argument explicitly to unsigned long int to use %lu for 
it).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list