diff options
Diffstat (limited to 'src/core/lib/json/json.cc')
-rw-r--r-- | src/core/lib/json/json.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/json/json.cc b/src/core/lib/json/json.cc index 4ad51f662a..adf35b9088 100644 --- a/src/core/lib/json/json.cc +++ b/src/core/lib/json/json.cc @@ -23,7 +23,7 @@ #include "src/core/lib/json/json.h" grpc_json* grpc_json_create(grpc_json_type type) { - grpc_json* json = (grpc_json*)gpr_zalloc(sizeof(*json)); + grpc_json* json = static_cast<grpc_json*>(gpr_zalloc(sizeof(*json))); json->type = type; return json; |