fixed minor warning - type signing mismatch.

This commit is contained in:
Nick Bolton 2012-07-09 12:27:13 +00:00
parent 346666791e
commit 21cf3f2478
2 changed files with 3 additions and 3 deletions

View File

@ -138,7 +138,7 @@ CIpcLogOutputter::notifyBuffer()
} }
CString CString
CIpcLogOutputter::emptyBuffer(int count) CIpcLogOutputter::emptyBuffer(size_t count)
{ {
CArchMutexLock lock(m_bufferMutex); CArchMutexLock lock(m_bufferMutex);
@ -147,7 +147,7 @@ CIpcLogOutputter::emptyBuffer(int count)
} }
CString chunk; CString chunk;
for (int i = 0; i < count; i++) { for (size_t i = 0; i < count; i++) {
chunk.append(m_buffer.front()); chunk.append(m_buffer.front());
chunk.append("\n"); chunk.append("\n");
m_buffer.pop(); m_buffer.pop();

View File

@ -48,7 +48,7 @@ public:
private: private:
void bufferThread(void*); void bufferThread(void*);
CString emptyBuffer(int count); CString emptyBuffer(size_t count);
void sendBuffer(); void sendBuffer();
void appendBuffer(const CString& text); void appendBuffer(const CString& text);