summaryrefslogtreecommitdiff
path: root/tests/test-io-stream-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-io-stream-common.c')
-rw-r--r--tests/test-io-stream-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-io-stream-common.c b/tests/test-io-stream-common.c
index efa6160..b34748d 100644
--- a/tests/test-io-stream-common.c
+++ b/tests/test-io-stream-common.c
@@ -500,7 +500,7 @@ run_io_stream_test (guint deadlock_timeout, gboolean reliable,
* This must only be called from the read thread implementation. */
void
check_for_termination (TestIOStreamThreadData *data, gsize *recv_count,
- gsize *other_recv_count, gsize *send_count, gsize expected_recv_count)
+ gsize *other_recv_count, volatile gsize *send_count, gsize expected_recv_count)
{
guint stream_id;
gpointer tmp;