diff options
author | Jeff King <peff@peff.net> | 2018-07-24 06:51:25 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-24 10:19:29 -0700 |
commit | f3e76ed228d60688b49dbc2735e4633e55969e30 (patch) | |
tree | 8275da4191e7962103acbf27f7b402484addd5a3 /write-or-die.c | |
parent | strbuf: use size_t for length in intermediate variables (diff) | |
download | tgif-f3e76ed228d60688b49dbc2735e4633e55969e30.tar.xz |
strbuf_readlink: use ssize_t
The return type of readlink() is ssize_t, not int. This
probably doesn't matter in practice, as it would require a
2GB symlink destination, but it doesn't hurt to be careful.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'write-or-die.c')
0 files changed, 0 insertions, 0 deletions