diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-07-24 20:25:52 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-07-24 20:25:52 +0000 |
commit | 681d11d8d7d2893c8565a949e3a315cb4641099c (patch) | |
tree | de41c176ce1a172c3340bd6e759a1cd66830d06c /protocols/FacebookRM/src | |
parent | 3833e19bbb119a18658ed47c29cd3c722e8f4496 (diff) |
Facebook: minor types fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@5474 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src')
-rw-r--r-- | protocols/FacebookRM/src/avatars.cpp | 2 | ||||
-rw-r--r-- | protocols/FacebookRM/src/communication.cpp | 2 | ||||
-rw-r--r-- | protocols/FacebookRM/src/entities.h | 2 |
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;
|