nufw-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nufw-devel] [PATCH 2 of 7] iconv.c: kill 4 warnings


From: Mikael Berthe
Subject: [Nufw-devel] [PATCH 2 of 7] iconv.c: kill 4 warnings
Date: Tue, 25 Oct 2005 20:16:00 +0200

# HG changeset patch
# User Mikael Berthe <address@hidden>
# Node ID de6ac05d1ad48e6b838929e7c5a5abe3f62be4fc
# Parent  cceb6b6a85b46f9cad0bce7a18739a57434c9103
iconv.c: kill 4 warnings

diff -r cceb6b6a85b4 -r de6ac05d1ad4 src/clients/lib/iconv.c
--- a/src/clients/lib/iconv.c   Sun Oct 23 21:15:51 2005 +0200
+++ b/src/clients/lib/iconv.c   Sun Oct 23 21:23:00 2005 +0200
@@ -40,10 +40,10 @@
 char * locale_to_utf8(char* inbuf){
        char* locale_charset=nl_langinfo(CODESET);
        iconv_t cd;
-       int inlen=strlen(inbuf);
+       size_t inlen=strlen(inbuf);
        char *outbuf,*targetbuf;
-       int outbuflen=inlen*2+1;
-       int outbufleft;
+       size_t outbuflen=inlen*2+1;
+       size_t outbufleft;
        int ret;
 
        setlocale (LC_ALL, "");




reply via email to

[Prev in Thread] Current Thread [Next in Thread]