mirror of https://github.com/moparisthebest/curl
make loop variable size_t as well when looping to a size_t limit
This commit is contained in:
parent
7225b14002
commit
35e158d80b
|
@ -199,7 +199,7 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
||||||
#include <conio.h>
|
#include <conio.h>
|
||||||
char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
||||||
{
|
{
|
||||||
int i;
|
size_t i;
|
||||||
printf("%s", prompt);
|
printf("%s", prompt);
|
||||||
|
|
||||||
for(i=0; i<buflen; i++) {
|
for(i=0; i<buflen; i++) {
|
||||||
|
|
Loading…
Reference in New Issue