From cc19a4e94109e53be5e54c315b49be0da1d5cb23 Mon Sep 17 00:00:00 2001 From: mutouyun Date: Mon, 17 Dec 2018 22:45:32 +0800 Subject: [PATCH] eliminate warning --- test/test_ipc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_ipc.cpp b/test/test_ipc.cpp index 289bbb8..bcc96ee 100644 --- a/test/test_ipc.cpp +++ b/test/test_ipc.cpp @@ -45,7 +45,7 @@ struct test_cq { test_cq(void*) : conn_name_("test-ipc-channel") { auto watcher = connect(); - QCOMPARE(watcher.recv_count(), 0); + QCOMPARE(watcher.recv_count(), static_cast(0)); } cn_t connect() {