X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Fsocket_handler.cpp;h=91d5899c006300c8976685759837df12835732ae;hp=b2bbcd145302ebbdd99485a1b815f963f088ab2e;hb=4b995a82e29808cf8125889f83ec70fc7b5c77af;hpb=20a05ab726b8935e914fe832a08a519a1fba2920 diff --git a/src/socket_handler.cpp b/src/socket_handler.cpp index b2bbcd1..91d5899 100644 --- a/src/socket_handler.cpp +++ b/src/socket_handler.cpp @@ -267,7 +267,7 @@ bool socket_handler::fill_buffer(std::string& buffer) /// connection because it encapsulates the data. void socket_handler::socket_write(const std::string& data) { - int offset = 0; + unsigned int offset = 0; while (offset < data.size()) { unsigned int write_size=write_block_size;