mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-07 10:40:28 +09:00
build: Fixed some VS2010 problems.
(cherry picked from commit 166ee451c5)
This commit is contained in:
committed by
Andreas Schneider
parent
db49b84a44
commit
af25fc35d1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user