build: Fixed some VS2010 problems.

(cherry picked from commit 166ee451c5)
This commit is contained in:
Oliver Stöneberg
2011-04-11 11:17:32 +02:00
committed by Andreas Schneider
parent db49b84a44
commit af25fc35d1
4 changed files with 6 additions and 6 deletions

View File

@@ -104,7 +104,7 @@ static int server_set_kex(ssh_session session) {
}
}
server->methods = malloc(10 * sizeof(char **));
server->methods = (char **) malloc(10 * sizeof(char **));
if (server->methods == NULL) {
return -1;
}