diff options
author | 2018-02-09 09:16:55 -0800 | |
---|---|---|
committer | 2018-02-09 09:16:55 -0800 | |
commit | be82e64b3debcdb1d9ec6a149fc85af0d46bfb7e (patch) | |
tree | cc5e1234073eb250a2c319b5a4db2919fce060ea /test/core/fling/fling_test.cc | |
parent | 194436342137924b4fb7429bede037a4b5ec7edb (diff) |
Autofix c casts to c++ casts
Diffstat (limited to 'test/core/fling/fling_test.cc')
-rw-r--r-- | test/core/fling/fling_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/fling/fling_test.cc b/test/core/fling/fling_test.cc index d95317b7e6..3587a4acaa 100644 --- a/test/core/fling/fling_test.cc +++ b/test/core/fling/fling_test.cc @@ -37,7 +37,7 @@ int main(int argc, const char** argv) { gpr_subprocess *svr, *cli; /* figure out where we are */ if (lslash) { - memcpy(root, me, (size_t)(lslash - me)); + memcpy(root, me, static_cast<size_t>(lslash - me)); root[lslash - me] = 0; } else { strcpy(root, "."); |