aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-10 16:03:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-10 16:03:12 +0000
commit35e158d80becdcf1958ac1352bd5ab3818c50b62 (patch)
treedbeef95a15f404c472f0c689aec586cf04e8ca65
parent7225b1400236c786add1516e38676d65a7bbd327 (diff)
make loop variable size_t as well when looping to a size_t limit
-rw-r--r--src/getpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getpass.c b/src/getpass.c
index 1f6eacb79..a2854cd16 100644
--- a/src/getpass.c
+++ b/src/getpass.c
@@ -199,7 +199,7 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
#include <conio.h>
char *getpass_r(const char *prompt, char *buffer, size_t buflen)
{
- int i;
+ size_t i;
printf("%s", prompt);
for(i=0; i<buflen; i++) {