diff options
| author | John Keeping <john@keeping.me.uk> | 2014-02-16 16:06:03 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2014-02-18 15:51:33 -0800 |
| commit | df5213b70d29e65aaff17d2577e42787e5a272bb (patch) | |
| tree | 0b07154eee43558f2a00d4cc337ae1b55e78b21a /builtin/commit-tree.c | |
| parent | notes-utils: handle boolean notes.rewritemode correctly (diff) | |
| download | git-df5213b70d29e65aaff17d2577e42787e5a272bb.tar.gz git-df5213b70d29e65aaff17d2577e42787e5a272bb.zip | |
utf8: fix iconv error detection
iconv(3) returns "(size_t) -1" on error. Make sure that we cast the
"-1" properly when checking for this.
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions
