aboutsummaryrefslogtreecommitdiff
path: root/src/server.c
diff options
context:
space:
mode:
authorOliver Stöneberg <oliverst@online.de>2011-04-11 11:17:32 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-04-11 11:18:57 +0200
commit166ee451c500543db49e789b9bb2ed16db052f94 (patch)
tree0a03ff6ede9e85adcd32d51d7bd01019d003cfdd /src/server.c
parent46475dfa2f246c4a831289bc7625c896eafa6458 (diff)
downloadlibssh-166ee451c500543db49e789b9bb2ed16db052f94.tar.gz
libssh-166ee451c500543db49e789b9bb2ed16db052f94.tar.xz
libssh-166ee451c500543db49e789b9bb2ed16db052f94.zip
build: Fixed some VS2010 problems.
Diffstat (limited to 'src/server.c')
-rw-r--r--src/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.c b/src/server.c
index 70e8359b..c56da532 100644
--- a/src/server.c
+++ b/src/server.c
@@ -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;
}