projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7225b14
)
make loop variable size_t as well when looping to a size_t limit
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 10 Mar 2004 16:03:12 +0000
(16:03 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 10 Mar 2004 16:03:12 +0000
(16:03 +0000)
src/getpass.c
patch
|
blob
|
history
diff --git
a/src/getpass.c
b/src/getpass.c
index
1f6eacb
..
a2854cd
100644
(file)
--- 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)
{
-
in
t i;
+
size_
t i;
printf("%s", prompt);
for(i=0; i<buflen; i++) {