PROTON-884: add explicit cast for win build
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/c8f2d8a3 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/c8f2d8a3 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/c8f2d8a3 Branch: refs/heads/cjansen-cpp-client Commit: c8f2d8a3aea0ffedc4b498e8146bfc0baa1562c3 Parents: d39f222 Author: Chuck Rolke <[email protected]> Authored: Mon May 11 09:37:16 2015 -0400 Committer: Chuck Rolke <[email protected]> Committed: Mon May 11 09:37:16 2015 -0400 ---------------------------------------------------------------------- proton-c/bindings/python/cproton.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/c8f2d8a3/proton-c/bindings/python/cproton.i ---------------------------------------------------------------------- diff --git a/proton-c/bindings/python/cproton.i b/proton-c/bindings/python/cproton.i index 357cd82..814dbe3 100644 --- a/proton-c/bindings/python/cproton.i +++ b/proton-c/bindings/python/cproton.i @@ -318,7 +318,7 @@ int pn_ssl_get_peer_hostname(pn_ssl_t *ssl, char *OUTPUT, size_t *OUTPUT_SIZE); PyObject *pn_transport_get_pytracer(pn_transport_t *transport) { pn_record_t *record = pn_transport_attachments(transport); - PyObject *obj = pn_record_get(record, PNI_PYTRACER); + PyObject *obj = (PyObject *)pn_record_get(record, PNI_PYTRACER); if (obj) { Py_XINCREF(obj); return obj; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
