diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-07-24 23:10:31 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-07-24 23:10:31 +0000 |
commit | 4597c090d2110f5e49db81e32921dad1b382f117 (patch) | |
tree | fcc8189591baf42e19d8810885c75d0586f6dce6 /protocols/FacebookRM/src/utils.h | |
parent | b48997b7f4576a8a264574dbe038fadb5111f649 (diff) |
Facebook: fixes
- fixed ghosts contacts (due to wrongly accessing json array)
- fixed freeing parsed json data
- fixed deleting item from map while iterating
- fixed timestamp values from facebook
- reverted back previously reverted fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@5477 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/utils.h')
-rw-r--r-- | protocols/FacebookRM/src/utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/utils.h b/protocols/FacebookRM/src/utils.h index b794290195..7f2766d91f 100644 --- a/protocols/FacebookRM/src/utils.h +++ b/protocols/FacebookRM/src/utils.h @@ -43,7 +43,7 @@ namespace utils {
std::string unix_timestamp();
std::string mili_timestamp();
- DWORD fix_timestamp(double);
+ DWORD fix_timestamp(unsigned __int64 mili_timestamp);
};
namespace number
@@ -70,7 +70,7 @@ namespace utils namespace conversion
{
DWORD to_timestamp(std::string data);
- struct tm *fbtime_to_timeinfo(double timestamp);
+ struct tm *fbtime_to_timeinfo(unsigned __int64 timestamp);
std::string to_string(void*, WORD type);
template <class T>
|