From 681d11d8d7d2893c8565a949e3a315cb4641099c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Wed, 24 Jul 2013 20:25:52 +0000 Subject: Facebook: minor types fix git-svn-id: http://svn.miranda-ng.org/main/trunk@5474 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/avatars.cpp | 2 +- protocols/FacebookRM/src/communication.cpp | 2 +- protocols/FacebookRM/src/entities.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/FacebookRM/src') 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; -- cgit v1.2.3