Commit 47594be5 authored by Yang Tse's avatar Yang Tse
Browse files

fix compiler warning

parent 0d635a11
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1252,7 +1252,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
             (k->bytecount + nread >= k->maxdownload)) {
             (k->bytecount + nread >= k->maxdownload)) {
            /* The 'excess' amount below can't be more than BUFSIZE which
            /* The 'excess' amount below can't be more than BUFSIZE which
               always will fit in a size_t */
               always will fit in a size_t */
            size_t excess = k->bytecount + nread - k->maxdownload;
            size_t excess = (size_t)(k->bytecount + nread - k->maxdownload);
            if (excess > 0 && !k->ignorebody) {
            if (excess > 0 && !k->ignorebody) {
              infof(data,
              infof(data,
                    "Rewinding stream by : %d"
                    "Rewinding stream by : %d"