Make cppcheck happy.

This commit is contained in:
lotodore
2012-01-08 13:34:12 +00:00
parent 03a1a1dc55
commit 915deefa8d
+1 -1
View File
@@ -74,7 +74,7 @@ SendBuffer::AsyncSendNextPacket(boost::shared_ptr<boost::asio::ip::tcp::socket>
int
SendBuffer::EncodeToBuf(const void *data, size_t size, void *arg)
{
SendBuffer *m = (SendBuffer *)arg;
SendBuffer *m = static_cast<SendBuffer *>(arg);
// Realloc buffer if necessary.
while (m->GetSendBufLeft() < size) {