make loop variable size_t as well when looping to a size_t limit

This commit is contained in:
Daniel Stenberg 2004-03-10 16:03:12 +00:00
parent 7225b14002
commit 35e158d80b
1 changed files with 1 additions and 1 deletions

View File

@ -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++) {