summaryrefslogtreecommitdiff
path: root/protocols/Facebook/src/thrift.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-04-25 15:35:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-04-25 15:35:39 +0300
commit68f68d7633596d9f39a0bd48f26732b24a2b5ee9 (patch)
treebd52f64f99547c84c98a413b7e2b6c2f07407ebd /protocols/Facebook/src/thrift.cpp
parent9449b0587fa74976ff55828f5d850bc061e331b8 (diff)
code cleaning
Diffstat (limited to 'protocols/Facebook/src/thrift.cpp')
-rw-r--r--protocols/Facebook/src/thrift.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Facebook/src/thrift.cpp b/protocols/Facebook/src/thrift.cpp
index ccd9b8c613..294796de6a 100644
--- a/protocols/Facebook/src/thrift.cpp
+++ b/protocols/Facebook/src/thrift.cpp
@@ -63,7 +63,7 @@ FbThrift& FbThrift::operator<<(const char *str)
{
size_t len = mir_strlen(str);
writeIntV(len);
- m_buf.append((void*)str, len);
+ m_buf.append(str, len);
return *this;
}
@@ -75,7 +75,7 @@ void FbThrift::writeBool(bool bValue)
void FbThrift::writeBuf(const void *pData, size_t cbLen)
{
- m_buf.append((void*)pData, cbLen);
+ m_buf.append(pData, cbLen);
}
void FbThrift::writeField(int iType)