From: Pierangelo Masarati Date: Fri, 21 Aug 2009 17:06:22 +0000 (+0000) Subject: silence warnings X-Git-Tag: ACLCHECK_0~250 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0b44f1fbcf540f1e6d5cd2fd30ba5ad2e89b78b2;p=openldap silence warnings --- diff --git a/libraries/liblutil/getpass.c b/libraries/liblutil/getpass.c index 03fffb1874..1cda1e70eb 100644 --- a/libraries/liblutil/getpass.c +++ b/libraries/liblutil/getpass.c @@ -71,7 +71,8 @@ lutil_getpass( const char *prompt ) { static char pbuf[PBUF]; FILE *fi; - int i, c; + int c; + unsigned i; #if defined(HAVE_TERMIOS_H) || defined(HAVE_SGTTY_H) TERMIO_TYPE ttyb; TERMFLAG_TYPE flags;