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/util/port.cc | |
parent | 194436342137924b4fb7429bede037a4b5ec7edb (diff) |
Autofix c casts to c++ casts
Diffstat (limited to 'test/core/util/port.cc')
-rw-r--r-- | test/core/util/port.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/util/port.cc b/test/core/util/port.cc index 9d02b673ed..4690727337 100644 --- a/test/core/util/port.cc +++ b/test/core/util/port.cc @@ -76,7 +76,7 @@ static void chose_port(int port) { } num_chosen_ports++; chosen_ports = - (int*)gpr_realloc(chosen_ports, sizeof(int) * num_chosen_ports); + static_cast<int*>(gpr_realloc(chosen_ports, sizeof(int) * num_chosen_ports)); chosen_ports[num_chosen_ports - 1] = port; } |