From 413695e8d0d8232a9c35e693f9a4a8009418ede4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 1 Mar 2008 09:25:52 +0100 Subject: [PATCH] Revert "Fix warnings" This reverts commit 9a966e5593ae4474014aec5d8c68c489ac8ce0c9. --- source/client/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/client/client.c b/source/client/client.c index c97f6223a78..1410fc2f331 100644 --- a/source/client/client.c +++ b/source/client/client.c @@ -979,10 +979,11 @@ static int do_get(const char *rname, const char *lname_in, bool reget) int handle = 0, fnum; bool newhandle = false; struct timeval tp_start; + int read_size = io_bufsize; uint16 attr; SMB_OFF_T size; off_t start = 0; - ssize_t nread = 0; + off_t nread = 0; int rc = 0; struct cli_state *targetcli = NULL; char *targetname = NULL; -- 2.34.1