[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nufw-devel] [PATCH 5 of 7] libnuclient.c: kill a few warnings
From: |
Mikael Berthe |
Subject: |
[Nufw-devel] [PATCH 5 of 7] libnuclient.c: kill a few warnings |
Date: |
Tue, 25 Oct 2005 20:16:03 +0200 |
# HG changeset patch
# User Mikael Berthe <address@hidden>
# Node ID 29d7392e29ed5052a745f89c56618ad12ebb22aa
# Parent c82e6c58aeef7d2c5753ae8812a71668f639be27
libnuclient.c: kill a few warnings
diff -r c82e6c58aeef -r 29d7392e29ed src/clients/lib/libnuclient.c
--- a/src/clients/lib/libnuclient.c Sun Oct 23 21:57:18 2005 +0200
+++ b/src/clients/lib/libnuclient.c Sun Oct 23 22:06:32 2005 +0200
@@ -482,7 +482,7 @@
const char *data;
const char *chosenmech;
//sasl_interatcptable_t *client_interact = NULL;
- int len;
+ size_t len;
int r;
char * mech;
@@ -613,7 +613,7 @@
struct nuv2_authreq authreq;
struct nuv2_authfield_ipv4 authfield;
struct nuv2_authfield_app appfield;
- int len=0;
+ size_t len=0;
/* get application name from inode */
const char * appname = prg_cache_get(c->ino);
header.proto=0x2;
@@ -1013,7 +1013,7 @@
struct utsname info;
char *oses;
int stringlen;
- int actuallen;
+ size_t actuallen;
int osfield_length;
char* enc_oses;
char * pointer, *buf;
@@ -1366,8 +1366,8 @@
/* announce our OS */
struct utsname info;
char *oses;
- int stringlen;
- int actuallen;
+ size_t stringlen;
+ size_t actuallen;
char* enc_oses;
char * pointer, *buf;
int osfield_length;
- [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, 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 <=