From: John Keeping Date: Sun, 16 Feb 2014 16:06:03 +0000 (+0000) Subject: utf8: fix iconv error detection X-Git-Tag: v2.0.0-rc0~130^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/df5213b70d29e65aaff17d2577e42787e5a272bb?ds=inline;hp=df5213b70d29e65aaff17d2577e42787e5a272bb 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 Signed-off-by: Junio C Hamano ---