From 0b44f1fbcf540f1e6d5cd2fd30ba5ad2e89b78b2 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 21 Aug 2009 17:06:22 +0000 Subject: [PATCH] silence warnings --- libraries/liblutil/getpass.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5