projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ded3862
)
Fix a slightly picky compiler warning
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 17 Nov 1999 10:39:17 +0000
(10:39 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 17 Nov 1999 10:39:17 +0000
(10:39 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@317
cda61777
-01e9-0310-a592-
d414129be87e
scp.c
patch
|
blob
|
blame
|
history
diff --git
a/scp.c
b/scp.c
index
1b9bcee
..
075b731
100644
(file)
--- a/
scp.c
+++ b/
scp.c
@@
-95,7
+95,7
@@
void ssh_get_password(char *prompt, char *str, int maxlen)
SetConsoleMode(hin, savemode);
- if (i > maxlen) i = maxlen-1; else i = i - 2;
+ if (
(int)
i > maxlen) i = maxlen-1; else i = i - 2;
str[i] = '\0';
WriteFile(hout, "\r\n", 2, &i, NULL);