[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nufw-devel] [PATCH 7 of 7] tls.c: kill some warnings
From: |
Mikael Berthe |
Subject: |
[Nufw-devel] [PATCH 7 of 7] tls.c: kill some warnings |
Date: |
Tue, 25 Oct 2005 20:16:05 +0200 |
# HG changeset patch
# User Mikael Berthe <address@hidden>
# Node ID 1f225ee997a7d8a64474e754a8c76bc520c3d39a
# Parent eef2d0ab17a005a69ab20c5b96cf078058e79ea2
tls.c: kill some warnings
diff -r eef2d0ab17a0 -r 1f225ee997a7 src/nuauth/tls.c
--- a/src/nuauth/tls.c Sun Oct 23 22:11:07 2005 +0200
+++ b/src/nuauth/tls.c Sun Oct 23 22:25:44 2005 +0200
@@ -112,7 +112,7 @@
/* convert username from utf-8 to locale */
if (nuauth_uses_utf8){
- int bwritten;
+ size_t bwritten;
dec_user = g_locale_from_utf8 (user,
-1,
NULL,
@@ -127,7 +127,7 @@
return SASL_NOAUTHZ;
}
} else {
- dec_user=user;
+ dec_user=(char*)user;
}
- [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, 2005/10/25
- [Nufw-devel] [PATCH 7 of 7] tls.c: kill some warnings,
Mikael Berthe <=
- [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