From 56369b4ac52f8c52b7f2e5e9d22e39e5a90fdaec Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Sun, 13 Dec 2015 19:27:03 -0800 Subject: Add cast --- test/core/bad_ssl/bad_ssl_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/core/bad_ssl/bad_ssl_test.c b/test/core/bad_ssl/bad_ssl_test.c index 3429b35ce9..f33f7e0ae3 100644 --- a/test/core/bad_ssl/bad_ssl_test.c +++ b/test/core/bad_ssl/bad_ssl_test.c @@ -147,7 +147,7 @@ int main(int argc, char **argv) { tmp = lunder - 1; while (*tmp != '_') tmp--; tmp++; - memcpy(test, tmp, lunder - tmp); + memcpy(test, tmp, (size_t)(lunder - tmp)); /* start the server */ gpr_asprintf(&args[0], "%s/bad_ssl_%s_server%s", root, test, gpr_subprocess_binary_extension()); -- cgit v1.2.3