]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFstable/11 r305225:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 1 Sep 2016 19:31:47 +0000 (19:31 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 1 Sep 2016 19:31:47 +0000 (19:31 +0000)
commit2ab4c87d68486eda06806dde77c784adee67fbd0
tree3b992b9ebe9940a21cb26dcd2465f3785c686f70
parent06cd59f3c7fcb21c244ae936b835eac8e83fec03
MFstable/11 r305225:

MFC r303573:

Cast result from third parameter to int instead of promoting it to size_t

This resolves a -Wformat issue when the value is used as a format width
precision specifier, i.e. %*s

git-svn-id: svn://svn.freebsd.org/base/stable/10@305233 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cddl/contrib/opensolaris/lib/libzpool/common/util.c