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

View File

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