commit c5842a09fe5a7063c626a75a5a32b1fd8d00c249 parent ecab079fd1cb92073a6cd9b985b276d86c254b74 Author: Michael Savage <mikejsavage@gmail.com> Date: Mon Sep 11 23:25:08 +0300 Remove junk cast Diffstat:
http.cc | | | 2 | +- |
diff --git a/http.cc b/http.cc @@ -41,7 +41,7 @@ GetResult http_get( const NetAddress & addr, const char * host, const char * pat if( ok == TCP_TIMEOUT ) return GET_ERROR_TIMEOUT; if( ok == TCP_CLOSED ) break; - response.append( buf, checked_cast< size_t >( bytes_read ) ); + response.append( buf, bytes_read ); if( progress_cb != NULL ) { progress_cb( response.size(), cb_data );