blob: 0339b9dfc15fa229e9d2b99538367b334a31fdc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- src/readxml.c.orig 2004-03-13 02:57:39.000000000 -0500
+++ src/readxml.c 2004-07-07 01:40:47.000000000 -0400
@@ -221,11 +221,11 @@
char *utf8tolocal(const char *in)
{
iconv_t c=get_conv();
- int inlen=strlen(in);
- int outlen=inlen*5;
+ size_t inlen=strlen(in);
+ size_t outlen=inlen*5;
char *r=malloc(outlen+1);
char *out=r;
- int v;
+ size_t v;
v=iconv(c,ICONV_CAST &in,&inlen,&out,&outlen);
if(v==-1) {
|