summaryrefslogtreecommitdiff
path: root/tests/ipc_stress.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ipc_stress.c')
-rw-r--r--tests/ipc_stress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ipc_stress.c b/tests/ipc_stress.c
index a3bbf84..4ebd171 100644
--- a/tests/ipc_stress.c
+++ b/tests/ipc_stress.c
@@ -95,7 +95,7 @@ static void client(void *arg)
bytes = nn_send (cli_sock, msg, sz_msg, 0);
/* This would better be handled via semaphore or condvar. */
nn_sleep (100);
- nn_assert (bytes == sz_msg);
+ nn_assert ((size_t)bytes == sz_msg);
nn_close (cli_sock);
}
}