Fix a bunch of s/int */size_t */.
This commit is contained in:
parent
726a1868a6
commit
5ff9562781
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104568
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user