From d3840bba19b20ac686e26ade86e63e318d94b9c4 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sun, 19 Aug 2012 15:28:39 +0700 Subject: [PATCH] Fix also Buffer.cpp to use struct timeval --- src/Buffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 047e85af01..97b5f5930c 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -11,7 +11,7 @@ #include #include -CBufLine::CBufLine(const CString& sFormat, const CString& sText, const timeval* ts) { +CBufLine::CBufLine(const CString& sFormat, const CString& sText, const struct timeval* ts) { m_sFormat = sFormat; m_sText = sText; if (ts == NULL) @@ -54,7 +54,7 @@ CBuffer::CBuffer(unsigned int uLineCount) { CBuffer::~CBuffer() {} -CBuffer::size_type CBuffer::AddLine(const CString& sFormat, const CString& sText, const timeval* ts) { +CBuffer::size_type CBuffer::AddLine(const CString& sFormat, const CString& sText, const struct timeval* ts) { if (!m_uLineCount) { return 0; }