Commit 35e158d8 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent 7225b140
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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++) {