From 44a1dd36f5370cf62385ac6701bd0bd3bd160d46 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Wed, 17 Jun 2015 09:09:35 -0700 Subject: [PATCH] Fix Python compilation --- src/python/src/grpc/_adapter/_c/utility.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/src/grpc/_adapter/_c/utility.c b/src/python/src/grpc/_adapter/_c/utility.c index 3b004abf3d9..a433f26d769 100644 --- a/src/python/src/grpc/_adapter/_c/utility.c +++ b/src/python/src/grpc/_adapter/_c/utility.c @@ -123,7 +123,7 @@ PyObject *pygrpc_consume_event(grpc_event event) { event.success ? Py_True : Py_False); } else { result = Py_BuildValue("iOOONO", GRPC_OP_COMPLETE, tag->user_tag, - tag->call ? tag->call : Py_None, Py_None, + tag->call ? (PyObject*)tag->call : Py_None, Py_None, pygrpc_consume_ops(tag->ops, tag->nops), event.success ? Py_True : Py_False); }