aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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++) {