summaryrefslogtreecommitdiffstats
path: root/sys/libkern/iconv.c
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2002-10-06 12:20:09 +0000
committermux <mux@FreeBSD.org>2002-10-06 12:20:09 +0000
commit9d6726cb31f1318ae7a9daaf95e1b90fedb912da (patch)
tree987a8b9c2639a2bdc52276e2d9e2abe69a0116a7 /sys/libkern/iconv.c
parentce144caffa63fdf7d72de1a810386487619a353e (diff)
downloadFreeBSD-src-9d6726cb31f1318ae7a9daaf95e1b90fedb912da.zip
FreeBSD-src-9d6726cb31f1318ae7a9daaf95e1b90fedb912da.tar.gz
Fix a bunch of s/int */size_t */.
Diffstat (limited to 'sys/libkern/iconv.c')
-rw-r--r--sys/libkern/iconv.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/libkern/iconv.c b/sys/libkern/iconv.c
index 1cd7147..8bc03c1 100644
--- a/sys/libkern/iconv.c
+++ b/sys/libkern/iconv.c
@@ -425,7 +425,8 @@ char *
iconv_convstr(void *handle, char *dst, const char *src)
{
char *p = dst;
- int inlen, outlen, error;
+ size_t inlen, outlen;
+ int error;
if (handle == NULL) {
strcpy(dst, src);
@@ -447,7 +448,8 @@ iconv_convmem(void *handle, void *dst, const void *src, int size)
{
const char *s = src;
char *d = dst;
- int inlen, outlen, error;
+ size_t inlen, outlen;
+ int error;
if (size == 0)
return dst;
OpenPOWER on IntegriCloud