Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 66feaa8

Browse files
committed
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)
1 parent adee1da commit 66feaa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/python/pgmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1496,7 +1496,7 @@ pgconnect(pgobject * self, PyObject * args, PyObject * dict)
14961496
* don't declare kwlist as const char *kwlist[] then it complains when
14971497
* I try to assign all those constant strings to it.
14981498
*/
1499-
if (!PyArg_ParseTupleAndKeywords(args, dict, "|zzlzzzz", (char **) kwlist,
1499+
if (!PyArg_ParseTupleAndKeywords(args, dict, "|zzizzzz", (char **) kwlist,
15001500
&pgdbname, &pghost, &pgport, &pgopt, &pgtty, &pguser, &pgpasswd))
15011501
return NULL;
15021502

0 commit comments

Comments
 (0)