Get rid of all the MSVC warnings.
[u/mdw/putty] / terminal.c
index 0a03f3a..92c3f03 100644 (file)
@@ -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);
        }
     }