From: Guus Sliepen Date: Sun, 11 May 2014 14:35:37 +0000 (+0200) Subject: Drop h and hh length modifiers from printf format strings. X-Git-Tag: release-1.0.24~4 X-Git-Url: https://git.librecmc.org/?p=oweals%2Ftinc.git;a=commitdiff_plain;h=8fce1eacd7fd7496a740be3ffc236fde37c681d7;hp=8fce1eacd7fd7496a740be3ffc236fde37c681d7 Drop h and hh length modifiers from printf format strings. C already guarantees that chars and shorts get passed as int. The few uses in tinc are mainly to print fields of struct addrinfo, and fields like ai_family have different sizes on different platforms, which actually caused some warnings to be generated. ---