From f6a39e96fbcc7728e4b5b356fab523c9b5aa6c44 Mon Sep 17 00:00:00 2001 From: David Garcia Quintas Date: Sat, 12 Sep 2015 17:18:24 -0700 Subject: Type sign fix for C# --- src/csharp/ext/grpc_csharp_ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/csharp/ext/grpc_csharp_ext.c') diff --git a/src/csharp/ext/grpc_csharp_ext.c b/src/csharp/ext/grpc_csharp_ext.c index 70c0fbcc50..51e0728fb9 100644 --- a/src/csharp/ext/grpc_csharp_ext.c +++ b/src/csharp/ext/grpc_csharp_ext.c @@ -252,7 +252,7 @@ GPR_EXPORT gpr_intptr GPR_CALLTYPE grpcsharp_batch_context_recv_message_length( if (!ctx->recv_message) { return -1; } - return grpc_byte_buffer_length(ctx->recv_message); + return (gpr_intptr)grpc_byte_buffer_length(ctx->recv_message); } /* -- cgit v1.2.3