summaryrefslogtreecommitdiff
path: root/t/chainlint/one-liner.test
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2018-07-24 06:52:29 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-07-24 10:19:29 -0700
commit7726d360b5ba859ae2b6ceefc5d88cc518c78063 (patch)
tree86180df101254604e2ed305b3a3a541e4ac9523d /t/chainlint/one-liner.test
parentpass st.st_size as hint for strbuf_readlink() (diff)
downloadtgif-7726d360b5ba859ae2b6ceefc5d88cc518c78063.tar.xz
strbuf_humanise: use unsigned variables
All of the numeric formatting done by this function uses "%u", but we pass in a signed "int". The actual range doesn't matter here, since the conditional makes sure we're always showing reasonably small numbers. And even gcc's format-checker does not seem to mind. But it's potentially confusing to a reader of the code to see the mismatch. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/chainlint/one-liner.test')
0 files changed, 0 insertions, 0 deletions