]> git.sur5r.net Git - openldap/commitdiff
silence warnings
authorQuanah Gibson-Mount <quanah@openldap.org>
Wed, 26 Aug 2009 01:09:33 +0000 (01:09 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 26 Aug 2009 01:09:33 +0000 (01:09 +0000)
libraries/liblutil/getpass.c

index 696b06e6e55b3e2c545686b818bcf877700e4c41..937fe8d0a24ee6edb4716a74d113d1c95b53cdc1 100644 (file)
@@ -70,7 +70,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;