mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-13 04:26:33 +03:00
Dropped compiler warning on Windows
This commit is contained in:
parent
451e1e2e73
commit
72f74d1f41
|
@ -61,7 +61,7 @@ psyco_diagnostics_get_field(diagnosticsObject *self, void *closure)
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
errortext = PQresultErrorField(self->err->pgres, (Py_intptr_t) closure);
|
errortext = PQresultErrorField(self->err->pgres, (int)(Py_intptr_t)closure);
|
||||||
return error_text_from_chars(self->err, errortext);
|
return error_text_from_chars(self->err, errortext);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user