summaryrefslogtreecommitdiff
path: root/nslcd
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-02-17 12:08:25 +0000
committerArthur de Jong <arthur@arthurdejong.org>2007-02-17 12:08:25 +0000
commitf7d514fa13424cf4ddb34634e5feffca89be710b (patch)
treea6f4c09c7c945f749cfea559c198e229c7a9fcd1 /nslcd
parent1cc1884587bd156fb210c2a049ae12b763a2a9e1 (diff)
fix a few bugs found thanks to the new warnings
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@251 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd')
-rw-r--r--nslcd/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/cfg.c b/nslcd/cfg.c
index a9ba6a1..5b7847b 100644
--- a/nslcd/cfg.c
+++ b/nslcd/cfg.c
@@ -360,7 +360,7 @@ static enum nss_status do_parse_list(char *values,char ***valptr,
#ifdef HAVE_STRTOK_R
char *tok_r;
#endif /* HAVE_STRTOK_R */
- int valcount;
+ size_t valcount;
int buflen = *pbuflen;
char *buffer = *pbuffer;