summaryrefslogtreecommitdiff
path: root/protocols/Facebook/src/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Facebook/src/server.cpp')
-rw-r--r--protocols/Facebook/src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Facebook/src/server.cpp b/protocols/Facebook/src/server.cpp
index 9b025c2376..81fcdda4f1 100644
--- a/protocols/Facebook/src/server.cpp
+++ b/protocols/Facebook/src/server.cpp
@@ -263,9 +263,9 @@ bool FacebookProto::RefreshToken()
m_szAuthToken = reply.data()["access_token"].as_mstring();
setString(DBKEY_TOKEN, m_szAuthToken);
- m_uid = reply.data()["uid"].as_int();
CMStringA m_szUid = reply.data()["uid"].as_mstring();
setString(DBKEY_ID, m_szUid);
+ m_uid = _atoi64(m_szUid);
return true;
}