summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_login.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_login.cpp')
-rw-r--r--protocols/Steam/src/steam_login.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_login.cpp b/protocols/Steam/src/steam_login.cpp
index fd8d7399f7..15fb3d6483 100644
--- a/protocols/Steam/src/steam_login.cpp
+++ b/protocols/Steam/src/steam_login.cpp
@@ -383,7 +383,7 @@ void CSteamProto::OnLoggedOn(const HttpResponse *response)
if (m_lastMessageTS <= 0) {
node = json_get(root, "utc_timestamp");
- time_t timestamp = _ttoi64(ptrT(json_as_string(node)));
+ time_t timestamp = _wtoi64(ptrT(json_as_string(node)));
setDword("LastMessageTS", timestamp);
}