aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/fling/fling_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/fling/fling_test.c')
-rw-r--r--test/core/fling/fling_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/fling/fling_test.c b/test/core/fling/fling_test.c
index 29d9050704..cf43ecfd2d 100644
--- a/test/core/fling/fling_test.c
+++ b/test/core/fling/fling_test.c
@@ -51,7 +51,7 @@ int main(int argc, char **argv) {
gpr_subprocess *svr, *cli;
/* figure out where we are */
if (lslash) {
- memcpy(root, me, lslash - me);
+ memcpy(root, me, (size_t)(lslash - me));
root[lslash - me] = 0;
} else {
strcpy(root, ".");