diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2011-04-18 18:12:19 +0000 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2011-04-18 18:12:19 +0000 |
commit | e946a1a046a92cca96e79a9f2e43f5bbd4a80184 (patch) | |
tree | e719370268391dcb93578fa5e5610b98294cd151 | |
parent | 8dff4a3f72543559eba1be49b8e0e98bb15ba610 (diff) | |
download | pysendfile-e946a1a046a92cca96e79a9f2e43f5bbd4a80184.tar.gz |
C types Solaris
-rw-r--r-- | sendfilemodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sendfilemodule.c b/sendfilemodule.c index 27e24c5..58ecdf9 100644 --- a/sendfilemodule.c +++ b/sendfilemodule.c @@ -344,10 +344,10 @@ method_sendfile(PyObject *self, PyObject *args, PyObject *kwdict) ssize_t sent; if (!PyArg_ParseTuple(args, -#if defined(HAVE_LARGEFILE_SUPPORT) - "iiLL", +#if !defined(HAVE_LARGEFILE_SUPPORT) + "iiLI", #else - "iill", + "iilI", #endif &out_fd, &in_fd, &offset, &nbytes)) { return NULL; |