summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2008-06-15 10:26:08 +0000
committerkientzle <kientzle@FreeBSD.org>2008-06-15 10:26:08 +0000
commita9ebcc947a4c893cbd622efa8f75afe6fb897cf6 (patch)
treecca14af1d27541941aae83d0c6acca58225de509 /lib
parent5e6dd4bfcefaf8de73572e5a7b6ca29f7ef7a934 (diff)
downloadFreeBSD-src-a9ebcc947a4c893cbd622efa8f75afe6fb897cf6.zip
FreeBSD-src-a9ebcc947a4c893cbd622efa8f75afe6fb897cf6.tar.gz
Fix a bad cast.
Diffstat (limited to 'lib')
-rw-r--r--lib/libarchive/archive_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/archive_string.c b/lib/libarchive/archive_string.c
index 20756df..c9a04d7 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
OpenPOWER on IntegriCloud