diff options
author | 2017-09-11 12:06:52 -0700 | |
---|---|---|
committer | 2017-09-11 12:06:52 -0700 | |
commit | f73fe507b6014d3a4e66971dde4e5cddca56b9a0 (patch) | |
tree | c4f1376b9151dd56cff21ede859dcc08f0fc29a2 /test/core/end2end/tests/payload.c | |
parent | d7b112e9011bee614950ac2bf4e91bca5b397c5a (diff) | |
parent | 55c4b31389d5557b88d39bde6d783d68aa747de7 (diff) |
Merge github.com:grpc/grpc into server_stats
Diffstat (limited to 'test/core/end2end/tests/payload.c')
-rw-r--r-- | test/core/end2end/tests/payload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/end2end/tests/payload.c b/test/core/end2end/tests/payload.c index 19fb4d9769..d98eed68e0 100644 --- a/test/core/end2end/tests/payload.c +++ b/test/core/end2end/tests/payload.c @@ -91,7 +91,7 @@ static grpc_slice generate_random_slice() { static const char chars[] = "abcdefghijklmnopqrstuvwxyz1234567890"; char *output; const size_t output_size = 1024 * 1024; - output = gpr_malloc(output_size); + output = (char *)gpr_malloc(output_size); for (i = 0; i < output_size - 1; ++i) { output[i] = chars[rand() % (int)(sizeof(chars) - 1)]; } |