mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
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)
This commit is contained in:
parent
adee1da002
commit
66feaa80dc
@ -1496,7 +1496,7 @@ pgconnect(pgobject * self, PyObject * args, PyObject * dict)
|
|||||||
* don't declare kwlist as const char *kwlist[] then it complains when
|
* don't declare kwlist as const char *kwlist[] then it complains when
|
||||||
* I try to assign all those constant strings to it.
|
* 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))
|
&pgdbname, &pghost, &pgport, &pgopt, &pgtty, &pguser, &pgpasswd))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user