make loop variable size_t as well when looping to a size_t limit
authorDaniel Stenberg <daniel@haxx.se>
Wed, 10 Mar 2004 16:03:12 +0000 (16:03 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 10 Mar 2004 16:03:12 +0000 (16:03 +0000)
src/getpass.c

index 1f6eacb..a2854cd 100644 (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++) {