diff options
author | Remko Tronçon <git@el-tramo.be> | 2014-01-18 18:33:52 (GMT) |
---|---|---|
committer | Swift Review <review@swift.im> | 2014-02-13 10:56:56 (GMT) |
commit | ba0a79a6fa68f2757795e96a22ff310ebe41a715 (patch) | |
tree | 905b4645ce2141c2b63dc574cb3a9ac751fe0e63 /Swift/Controllers/Chat | |
parent | f44ea24fda0f08195180215a30bc626d7c1907c5 (diff) | |
download | swift-contrib-ba0a79a6fa68f2757795e96a22ff310ebe41a715.zip swift-contrib-ba0a79a6fa68f2757795e96a22ff310ebe41a715.tar.bz2 |
Fix clang warnings
Change-Id: I7cd26f00f626b64da934e9f5594db393d6184b9c
Diffstat (limited to 'Swift/Controllers/Chat')
-rw-r--r-- | Swift/Controllers/Chat/ChatsManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/ChatsManager.cpp b/Swift/Controllers/Chat/ChatsManager.cpp index a7e8b73..fef9039 100644 --- a/Swift/Controllers/Chat/ChatsManager.cpp +++ b/Swift/Controllers/Chat/ChatsManager.cpp @@ -313,7 +313,7 @@ void ChatsManager::loadRecents() { // boost searilaize based format ByteArray debase64 = Base64::decode(recentsString); std::vector<ChatListWindow::Chat> recentChats; - std::stringstream deserializeStream(std::string((const char*)debase64.data(), debase64.size())); + std::stringstream deserializeStream(std::string(reinterpret_cast<const char*>(vecptr(debase64)), debase64.size())); try { boost::archive::text_iarchive ia(deserializeStream); ia >> recentChats; |