aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/json/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lib/json/json.c')
-rw-r--r--src/core/lib/json/json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/json/json.c b/src/core/lib/json/json.c
index 25eee05532..4ad51f662a 100644
--- a/src/core/lib/json/json.c
+++ b/src/core/lib/json/json.c
@@ -23,7 +23,7 @@
#include "src/core/lib/json/json.h"
grpc_json* grpc_json_create(grpc_json_type type) {
- grpc_json* json = gpr_zalloc(sizeof(*json));
+ grpc_json* json = (grpc_json*)gpr_zalloc(sizeof(*json));
json->type = type;
return json;