Fix a bunch of s/int */size_t */.
This commit is contained in:
parent
726a1868a6
commit
5ff9562781
@ -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