[Top][All Lists]
[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, "");
- [Nufw-devel] [PATCH 0 of 7] Warning fixes, Mikael Berthe, 2005/10/25
- [Nufw-devel] [PATCH 2 of 7] iconv.c: kill 4 warnings,
Mikael Berthe <=
- [Nufw-devel] [PATCH 7 of 7] tls.c: kill some warnings, Mikael Berthe, 2005/10/25
- [Nufw-devel] [PATCH 3 of 7] authsrv.c: fix a format string, Mikael Berthe, 2005/10/25
- [Nufw-devel] [PATCH 4 of 7] gcrypt.c: kill a few warnings, Mikael Berthe, 2005/10/25
- [Nufw-devel] [PATCH 6 of 7] libnuclient.c: whitespace cleanup, Mikael Berthe, 2005/10/25
- [Nufw-devel] [PATCH 1 of 7] nutcpc.c: kill 2 warnings, Mikael Berthe, 2005/10/25
- [Nufw-devel] [PATCH 5 of 7] libnuclient.c: kill a few warnings, Mikael Berthe, 2005/10/25