]> git.sur5r.net Git - openldap/commitdiff
silence warnings
authorPierangelo Masarati <ando@openldap.org>
Fri, 21 Aug 2009 17:06:22 +0000 (17:06 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 21 Aug 2009 17:06:22 +0000 (17:06 +0000)
libraries/liblutil/getpass.c

index 03fffb1874aa85c78a368d0bd4d6c5f5e6f12124..1cda1e70eb8f9e49b0931efb26f0c4fe7cc20515 100644 (file)
@@ -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;