1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Fix the _rest_ of the Windows compile warnings. (ahem)

[originally from svn r9201]
This commit is contained in:
Simon Tatham
2011-07-12 18:13:33 +00:00
parent 1fda4423e0
commit f1aadeed67
3 changed files with 11 additions and 11 deletions

View File

@ -1691,7 +1691,7 @@ char *get_hostname(void)
hostname = NULL;
break;
}
} while (strlen(hostname) >= len-1);
} while (strlen(hostname) >= (size_t)(len-1));
return hostname;
}