diff --git a/lib/libarchive/archive_string.c b/lib/libarchive/archive_string.c index 20756dfb9cf4..c9a04d743672 100644 --- a/lib/libarchive/archive_string.c +++ b/lib/libarchive/archive_string.c @@ -199,7 +199,7 @@ my_wctomb_utf8(char *p, wchar_t wc) * Awkward point: UTF-8 <-> wchar_t conversions * can actually fail. */ - return ((size_t)-1); + return (-1); } static int