mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-07 12:50:32 +03:00
Windows MSVC: Fixed warning of incompatible types
Fixed incompatible type warning from XidObject * to PyObject * by casting.
This commit is contained in:
parent
961e855bbd
commit
7c2fa77c4b
|
@ -939,7 +939,7 @@ connection_repr(connectionObject *self)
|
||||||
static int
|
static int
|
||||||
connection_traverse(connectionObject *self, visitproc visit, void *arg)
|
connection_traverse(connectionObject *self, visitproc visit, void *arg)
|
||||||
{
|
{
|
||||||
Py_VISIT(self->tpc_xid);
|
Py_VISIT((PyObject *)(self->tpc_xid));
|
||||||
Py_VISIT(self->async_cursor);
|
Py_VISIT(self->async_cursor);
|
||||||
Py_VISIT(self->notice_list);
|
Py_VISIT(self->notice_list);
|
||||||
Py_VISIT(self->notice_filter);
|
Py_VISIT(self->notice_filter);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user