Commit 66feaa80 authored by D'Arcy J.M. Cain's avatar D'Arcy J.M. Cain

Change "|zzlzzzz" argument specification to "|zzizzzz" so that the code works

properly on 64 bit systems.

Change submitted by Marc Poinot (Marc.Poinot@onera.fr)
parent adee1da0
......@@ -1496,7 +1496,7 @@ pgconnect(pgobject * self, PyObject * args, PyObject * dict)
* don't declare kwlist as const char *kwlist[] then it complains when
* I try to assign all those constant strings to it.
*/
if (!PyArg_ParseTupleAndKeywords(args, dict, "|zzlzzzz", (char **) kwlist,
if (!PyArg_ParseTupleAndKeywords(args, dict, "|zzizzzz", (char **) kwlist,
&pgdbname, &pghost, &pgport, &pgopt, &pgtty, &pguser, &pgpasswd))
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment