You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-libs/libcapsinetwork/files/libcapsinetwork-0.3.0-64bit...

21 lines
665 B

--- libcapsinetwork-0.3.0.old/src/socket.cpp 2004-07-15 05:39:28.000000000 -0400
+++ libcapsinetwork-0.3.0/src/socket.cpp 2007-10-10 07:36:41.000000000 -0400
@@ -49,7 +49,7 @@
const bool Socket::hasReadLine()
{
static std::string newLine = "\r\n";
- unsigned int pos = m_ioBuf.find_first_of(newLine);
+ std::string::size_type pos = m_ioBuf.find_first_of(newLine);
return (!(pos == std::string::npos));
}
@@ -57,7 +57,7 @@
const std::string Socket::readLine()
{
static std::string newLine = "\r\n";
- unsigned int pos = m_ioBuf.find_first_of(newLine);
+ std::string::size_type pos = m_ioBuf.find_first_of(newLine);
if (pos != std::string::npos)
{