diff options
-rw-r--r-- | src/core/lib/surface/call.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/surface/call.c b/src/core/lib/surface/call.c index 830795fc78..eef315bead 100644 --- a/src/core/lib/surface/call.c +++ b/src/core/lib/surface/call.c @@ -859,7 +859,8 @@ static void recv_common_filter(grpc_exec_ctx *exec_ctx, grpc_call *call, status_code == GRPC_STATUS_OK ? GRPC_ERROR_NONE : grpc_error_set_int(GRPC_ERROR_CREATE("Error received from peer"), - GRPC_ERROR_INT_GRPC_STATUS, status_code); + GRPC_ERROR_INT_GRPC_STATUS, + (intptr_t)status_code); if (b->idx.named.grpc_message != NULL) { char *msg = |