From 76e188e368fb987374c3211e8bc888effaf02fa9 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 25 Jun 2016 23:57:26 +0900 Subject: [PATCH] nghttpx: Fix compile error with gcc --- src/shrpx_ssl_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx_ssl_test.cc b/src/shrpx_ssl_test.cc index 0161336a..6e5e128f 100644 --- a/src/shrpx_ssl_test.cc +++ b/src/shrpx_ssl_test.cc @@ -89,7 +89,7 @@ void test_shrpx_ssl_create_lookup_tree(void) { tree->add_cert(names[idx], idx); } for (size_t i = 0; i < num; ++i) { - CU_ASSERT(i == tree->lookup(names[i])); + CU_ASSERT((ssize_t)i == tree->lookup(names[i])); } }