aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-12-15 13:03:21 -0500
committerNick Mathewson <nickm@torproject.org>2015-12-15 13:03:21 -0500
commit744958e0ddc74e7f4db12a5d078d1188bf9f48e1 (patch)
tree7de082142b97ee8d6b57b143da1f1a5e257c4a4c /src/test/test_connection.c
parenta7d44731d9ac831cd68f34ac640b50cdde3a60af (diff)
downloadtor-744958e0ddc74e7f4db12a5d078d1188bf9f48e1.tar.gz
tor-744958e0ddc74e7f4db12a5d078d1188bf9f48e1.zip
Fix a few compilation warnings and errors
Diffstat (limited to 'src/test/test_connection.c')
-rw-r--r--src/test/test_connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_connection.c b/src/test/test_connection.c
index 1067b5fa1f..bbd3452d43 100644
--- a/src/test/test_connection.c
+++ b/src/test/test_connection.c
@@ -312,7 +312,7 @@ test_conn_download_status_setup(const struct testcase_t *tc)
(void)tc;
/* Don't return NULL, that causes the test to fail */
- return "ok";
+ return (void*)"ok";
}
static int