chiark / gitweb /
Portabiity fix: Build where sizeof is not compatible with int proposed.ipv6-polypath-fixes-2.v1
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 27 Oct 2014 01:42:28 +0000 (01:42 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 27 Oct 2014 01:42:28 +0000 (01:42 +0000)
commita748f01e7347685207a34dc7ef7f4935fabb7e55
tree54c338c30365e69b39dfae5070418a8edcb21ad1
parentcaa976333a50a669e1506124afaeda3e5b14d36e
Portabiity fix: Build where sizeof is not compatible with int

On Debian amd64, for example:

 util.c: In function 'iaddr_to_string':
 util.c:575:3: error: field precision specifier '.*' expects argument
 of type 'int', but argument 3 has type 'long unsigned int'

Thanks to Jonathan Amery for the report.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
util.c