mirror of
https://github.com/git-for-windows/git.git
synced 2025-12-13 00:06:03 -06:00
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>
This commit is contained in:
parent
aa012e9065
commit
df5213b70d
Loading…
x
Reference in New Issue
Block a user