summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index c8529b84f2..76e07cb4f3 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -1062,7 +1062,7 @@ static int do_put(char *rname, char *lname, BOOL reput)
int fnum;
XFILE *f;
int start = 0;
- int nread = 0;
+ off_t nread = 0;
char *buf = NULL;
int maxwrite = io_bufsize;
int rc = 0;