summaryrefslogtreecommitdiffstats
path: root/gio/ginputstream.override
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@async.com.br>2008-03-08 11:31:00 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-03-08 11:31:00 +0000
commit5f11b1470b20c34b325c5534aca5afc44d37d8c8 (patch)
tree0116de90e995e2562dc3c94639a074ab1788e0f6 /gio/ginputstream.override
parentdda1e06eccede648f0c55946244408cc7bbeea7d (diff)
downloadpygobject-5f11b1470b20c34b325c5534aca5afc44d37d8c8.tar.gz
pygobject-5f11b1470b20c34b325c5534aca5afc44d37d8c8.tar.xz
pygobject-5f11b1470b20c34b325c5534aca5afc44d37d8c8.zip
Pass in l instead of i to PyArg_ParseTupleAndKeywords when parsing a long.
2008-03-08 Johan Dahlin <jdahlin@async.com.br> * gio/ginputstream.override: Pass in l instead of i to PyArg_ParseTupleAndKeywords when parsing a long. Fixes the build on 64-bit systems. (#521165, Thomas Leonard) svn path=/trunk/; revision=749
Diffstat (limited to 'gio/ginputstream.override')
-rw-r--r--gio/ginputstream.override4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/ginputstream.override b/gio/ginputstream.override
index d85a2c3..c279d41 100644
--- a/gio/ginputstream.override
+++ b/gio/ginputstream.override
@@ -34,7 +34,7 @@ _wrap_g_input_stream_read(PyGObject *self, PyObject *args, PyObject *kwargs)
size_t bytesread, buffersize, chunksize;
if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|iO!:InputStream.read",
+ "|lO!:InputStream.read",
kwlist, &count,
&PyGCancellable_Type, &pycancellable))
return NULL;
@@ -108,7 +108,7 @@ _wrap_g_input_stream_read_async(PyGObject *self, PyObject *args, PyObject *kwarg
notify = g_slice_new0(PyGAsyncRequestNotify);
if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "iiOO|O:InputStream.read_async",
+ "liOO|O:InputStream.read_async",
kwlist, &count,
&io_priority,
&pycancellable,