diff options
Diffstat (limited to 'channels.cpp')
-rw-r--r-- | channels.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/channels.cpp b/channels.cpp index 3647b144..7359f54f 100644 --- a/channels.cpp +++ b/channels.cpp @@ -142,7 +142,7 @@ const std::string & ChannelRouteIterator::Channel() // ChannelSwitch /////////////////// -unsigned int ChannelSwitch::ChannelPut2(const std::string &channel, const byte *begin, unsigned int length, int messageEnd, bool blocking) +size_t ChannelSwitch::ChannelPut2(const std::string &channel, const byte *begin, size_t length, int messageEnd, bool blocking) { if (m_blocked) { @@ -224,7 +224,7 @@ bool ChannelSwitch::ChannelMessageSeriesEnd(const std::string &channel, int prop return false; } -byte * ChannelSwitch::ChannelCreatePutSpace(const std::string &channel, unsigned int &size) +byte * ChannelSwitch::ChannelCreatePutSpace(const std::string &channel, size_t &size) { m_it.Reset(channel); if (!m_it.End()) @@ -239,7 +239,7 @@ byte * ChannelSwitch::ChannelCreatePutSpace(const std::string &channel, unsigned return NULL; } -unsigned int ChannelSwitch::ChannelPutModifiable2(const std::string &channel, byte *inString, unsigned int length, int messageEnd, bool blocking) +size_t ChannelSwitch::ChannelPutModifiable2(const std::string &channel, byte *inString, size_t length, int messageEnd, bool blocking) { ChannelRouteIterator it(*this); it.Reset(channel); |