fixed minor warning - type signing mismatch.
This commit is contained in:
parent
346666791e
commit
21cf3f2478
|
@ -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();
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue