improved sun studio support (it seems to lack a lot of stl)

This commit is contained in:
Arvid Norberg
2009-08-30 07:38:52 +00:00
parent f764227012
commit 1f5a722b01
26 changed files with 132 additions and 82 deletions

View File

@@ -98,7 +98,7 @@ namespace libtorrent
char const* line = pos;
++newline;
int incoming = (int)std::distance(pos, newline);
int incoming = int(newline - pos);
m_recv_pos += incoming;
boost::get<1>(ret) += newline - (m_recv_buffer.begin + start_pos);
pos = newline;