aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-12-13 19:27:03 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-12-13 19:27:03 -0800
commit56369b4ac52f8c52b7f2e5e9d22e39e5a90fdaec (patch)
treebb6c77a99286f325f42dc3a81e8230ba2adf5e18 /test
parentabd20f3c69b3f2e32cf46bc82f26632c2413fdad (diff)
Add cast
Diffstat (limited to 'test')
-rw-r--r--test/core/bad_ssl/bad_ssl_test.c2
1 files changed, 1 insertions, 1 deletions
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());