diff options
Diffstat (limited to 'plugins/HistoryStats/src/message.h')
-rw-r--r-- | plugins/HistoryStats/src/message.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/HistoryStats/src/message.h b/plugins/HistoryStats/src/message.h index f3aa8e75a7..686ee103ee 100644 --- a/plugins/HistoryStats/src/message.h +++ b/plugins/HistoryStats/src/message.h @@ -27,7 +27,7 @@ private: private:
bool m_bOutgoing;
DWORD m_Timestamp;
- ext::string::size_type m_nLength;
+ size_t m_nLength;
const void* m_RawSource;
int m_Available;
ext::string m_Raw;
@@ -56,7 +56,7 @@ public: m_Timestamp = localTimestamp;
}
- void assignText(const wchar_t* msg, ext::string::size_type len)
+ void assignText(const wchar_t* msg, size_t len)
{
m_RawSource = msg;
m_nLength = len;
@@ -64,7 +64,7 @@ public: }
#if defined(_UNICODE)
- void assignText(const char* msg, ext::string::size_type len)
+ void assignText(const char* msg, size_t len)
{
m_RawSource = msg;
m_nLength = len;
@@ -72,7 +72,7 @@ public: }
#endif // _UNICODE
- void assignTextFromUTF8(const char* msg, ext::string::size_type len)
+ void assignTextFromUTF8(const char* msg, size_t len)
{
m_RawSource = msg;
m_nLength = len;
@@ -91,7 +91,7 @@ public: }
// retrieving on-demand data
- ext::string::size_type getLength()
+ size_t getLength()
{
return (!m_bStripBBCodes && !m_bStripRawRTF) ? m_nLength : getRaw().length();
}
|