1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Get rid of all the MSVC warnings.

[originally from svn r7086]
This commit is contained in:
Simon Tatham
2007-01-09 18:24:07 +00:00
parent 4fa9564c90
commit 42801b7e9e
9 changed files with 43 additions and 43 deletions

View File

@ -19,7 +19,7 @@ static void arcfour_block(void *handle, unsigned char *blk, int len)
s = ctx->s;
i = ctx->i; j = ctx->j;
for (k = 0; k < len; k++) {
for (k = 0; (int)k < len; k++) {
i = (i + 1) & 0xff;
j = (j + s[i]) & 0xff;
tmp = s[i]; s[i] = s[j]; s[j] = tmp;