summaryrefslogtreecommitdiff
path: root/source3/python
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-03-22 21:17:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:13 -0500
commitb3e57cb3ffb6eeb3edb1a7b02be35f70e1e7dfcf (patch)
tree10b5f684df42cc80c16351413839276cd4bec8c0 /source3/python
parentb360f556a5c1a6e9ed7a941451eca5d278a8a633 (diff)
downloadsamba-b3e57cb3ffb6eeb3edb1a7b02be35f70e1e7dfcf.tar.gz
samba-b3e57cb3ffb6eeb3edb1a7b02be35f70e1e7dfcf.tar.bz2
samba-b3e57cb3ffb6eeb3edb1a7b02be35f70e1e7dfcf.zip
r5968: derrell's large file fix for libsmbclient (BUG 2505)
(This used to be commit 85be4c5df398faa6c5bfacd1f9d2f12c39d411e1)
Diffstat (limited to 'source3/python')
-rw-r--r--source3/python/py_smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_smb.c b/source3/python/py_smb.c
index c3d59d4fb8..ad83e469b2 100644
--- a/source3/python/py_smb.c
+++ b/source3/python/py_smb.c
@@ -212,7 +212,7 @@ static PyObject *py_smb_read(PyObject *self, PyObject *args, PyObject *kw)
static char *kwlist[] = { "fnum", "offset", "size", NULL };
int fnum, offset=0, size=0;
ssize_t result;
- size_t fsize;
+ SMB_OFF_T fsize;
char *data;
PyObject *ret;