diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-12-13 19:27:03 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-12-13 19:27:03 -0800 |
commit | 56369b4ac52f8c52b7f2e5e9d22e39e5a90fdaec (patch) | |
tree | bb6c77a99286f325f42dc3a81e8230ba2adf5e18 /test | |
parent | abd20f3c69b3f2e32cf46bc82f26632c2413fdad (diff) |
Add cast
Diffstat (limited to 'test')
-rw-r--r-- | test/core/bad_ssl/bad_ssl_test.c | 2 |
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()); |