Get rid of all the MSVC warnings.
[u/mdw/putty] / windows / wincons.c
index 288410c..20fda05 100644 (file)
@@ -314,7 +314,7 @@ int console_get_userpass_input(prompts_t *p, unsigned char *in, int inlen)
      */
     {
        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);
     }