aboutsummaryrefslogtreecommitdiff
path: root/tests/client/torture_forward.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-11-27 18:04:44 +0100
committerAndreas Schneider <asn@cryptomilk.org>2013-11-27 22:53:53 +0100
commit23837b2080706ed5870f16ad1cf64fe9557eb00d (patch)
treec8f4a58149217f72a22f265f784b546c63170138 /tests/client/torture_forward.c
parent4884f1d6fcea09ea8025b9c1d753469a8d32cffa (diff)
downloadlibssh-23837b2080706ed5870f16ad1cf64fe9557eb00d.tar.gz
libssh-23837b2080706ed5870f16ad1cf64fe9557eb00d.tar.xz
libssh-23837b2080706ed5870f16ad1cf64fe9557eb00d.zip
tests: Try to fix valgrind warnings.
Diffstat (limited to 'tests/client/torture_forward.c')
-rw-r--r--tests/client/torture_forward.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/client/torture_forward.c b/tests/client/torture_forward.c
index 1440552e..a2115c87 100644
--- a/tests/client/torture_forward.c
+++ b/tests/client/torture_forward.c
@@ -47,7 +47,7 @@ static void setup(void **state)
static void teardown(void **state)
{
- ssh_session session = *state;
+ ssh_session session = (ssh_session)*state;
assert_false(session == NULL);
@@ -59,7 +59,7 @@ static void teardown(void **state)
static void torture_ssh_forward(void **state)
{
- ssh_session session = *state;
+ ssh_session session = (ssh_session)*state;
#if 0
ssh_channel c;
#endif