Revert "Fix warnings"
authorVolker Lendecke <vl@samba.org>
Sat, 1 Mar 2008 08:25:52 +0000 (09:25 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 1 Mar 2008 08:38:14 +0000 (09:38 +0100)
This reverts commit 9a966e5593ae4474014aec5d8c68c489ac8ce0c9.

source/client/client.c

index c97f6223a78cb7a8a56484d13d928246644a11d1..1410fc2f331b5c169112dc665b84ae3d2b7bdf93 100644 (file)
@@ -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;