Fix warnings
authorVolker Lendecke <vl@samba.org>
Fri, 29 Feb 2008 14:13:02 +0000 (15:13 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 29 Feb 2008 14:17:38 +0000 (15:17 +0100)
(This used to be commit 9a966e5593ae4474014aec5d8c68c489ac8ce0c9)

source3/client/client.c

index 1410fc2f331b5c169112dc665b84ae3d2b7bdf93..c97f6223a78cb7a8a56484d13d928246644a11d1 100644 (file)
@@ -979,11 +979,10 @@ 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;
-       off_t nread = 0;
+       ssize_t nread = 0;
        int rc = 0;
        struct cli_state *targetcli = NULL;
        char *targetname = NULL;