From: D'Arcy J.M. Cain Date: Wed, 2 May 2001 11:17:24 +0000 (+0000) Subject: Change "|zzlzzzz" argument specification to "|zzizzzz" so that the code works X-Git-Tag: REL7_1_1~30 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=66feaa80dc4271d3518d1867486ec8c0e871dce4;p=users%2Fc2main%2Fpostgres.git 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) --- diff --git a/src/interfaces/python/pgmodule.c b/src/interfaces/python/pgmodule.c index bae459a172..a1ce3cd33f 100644 --- a/src/interfaces/python/pgmodule.c +++ b/src/interfaces/python/pgmodule.c @@ -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;