projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Get rid of all the MSVC warnings.
[u/mdw/putty]
/
terminal.c
diff --git
a/terminal.c
b/terminal.c
index
0a03f3a
..
92c3f03
100644
(file)
--- a/
terminal.c
+++ b/
terminal.c
@@
-6441,7
+6441,7
@@
int term_get_userpass_input(Terminal *term, prompts_t *p,
*/
{
int i;
- for (i = 0; i < p->n_prompts; i++)
+ for (i = 0; i <
(int)
p->n_prompts; i++)
memset(p->prompts[i]->result, 0, p->prompts[i]->result_len);
}
}