aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-01-09 15:50:03 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-01-09 15:50:03 -0800
commitcae37f3bde6114d37d3b2277b27032bd145f81a9 (patch)
tree04b46276c0d7a66c8a0138acac78e3b160cc7604
parent737b625ad84e35cc947c80102d29d34e27250cf3 (diff)
Add missing cast
-rw-r--r--src/core/lib/surface/call.c3
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 =