diff options
author | Tim Kientzle <kientzle@FreeBSD.org> | 2008-06-15 10:26:08 +0000 |
---|---|---|
committer | Tim Kientzle <kientzle@FreeBSD.org> | 2008-06-15 10:26:08 +0000 |
commit | 8d86da5715cb1e4319ccefc26819d040f03d0451 (patch) | |
tree | cca14af1d27541941aae83d0c6acca58225de509 /lib/libarchive/archive_string.c | |
parent | 48ee9a828dbb1c76fce1f2d0e67705571d212503 (diff) |
Fix a bad cast.
Notes
Notes:
svn path=/head/; revision=179797
Diffstat (limited to 'lib/libarchive/archive_string.c')
-rw-r--r-- | lib/libarchive/archive_string.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |