summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-07-24 20:25:52 +0000
committerRobert Pösel <robyer@seznam.cz>2013-07-24 20:25:52 +0000
commit681d11d8d7d2893c8565a949e3a315cb4641099c (patch)
treede41c176ce1a172c3340bd6e759a1cd66830d06c
parent3833e19bbb119a18658ed47c29cd3c722e8f4496 (diff)
Facebook: minor types fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@5474 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/FacebookRM/src/avatars.cpp2
-rw-r--r--protocols/FacebookRM/src/communication.cpp2
-rw-r--r--protocols/FacebookRM/src/entities.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/avatars.cpp b/protocols/FacebookRM/src/avatars.cpp
index 8f5f1d00f3..58b7f4f504 100644
--- a/protocols/FacebookRM/src/avatars.cpp
+++ b/protocols/FacebookRM/src/avatars.cpp
@@ -195,7 +195,7 @@ INT_PTR FacebookProto::GetAvatarInfo(WPARAM wParam, LPARAM lParam)
if (needLoad)
{
- LOG("***** Starting avatar request thread for %s", AI->filename);
+ LOG("***** Starting avatar request thread for %s", _T2A(AI->filename));
ScopedLock s(avatar_lock_);
if (std::find(avatar_queue.begin(), avatar_queue.end(), AI->hContact) == avatar_queue.end())
diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp
index 0ebb32ba3b..f1671d2e4e 100644
--- a/protocols/FacebookRM/src/communication.cpp
+++ b/protocols/FacebookRM/src/communication.cpp
@@ -1275,7 +1275,7 @@ bool facebook_client::save_url(const std::string &url,const std::tstring &filena
if (resp)
{
nlc = resp->nlc;
- parent->Log("@@@@@ Saving avatar URL %s to path %s", url.c_str(), filename.c_str());
+ parent->Log("@@@@@ Saving avatar URL %s to path %s", url.c_str(), _T2A(filename.c_str()));
// Create folder if necessary
std::tstring dir = filename.substr(0,filename.rfind('\\'));
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h
index 38869e326c..26f64e79c1 100644
--- a/protocols/FacebookRM/src/entities.h
+++ b/protocols/FacebookRM/src/entities.h
@@ -31,7 +31,7 @@ struct facebook_user
unsigned int status_id;
unsigned int gender;
- unsigned int last_active;
+ DWORD last_active;
std::string image_url;