diff options
author | George Hazan <george.hazan@gmail.com> | 2013-10-13 07:47:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-10-13 07:47:08 +0000 |
commit | 7ee4e8dc6a95e14c5d565f6172be02ea5ee1f4d9 (patch) | |
tree | bd94d553ddb796e58da365c93e13f6d0a3307b9e /protocols/VKontakte/src/vk_avatars.cpp | |
parent | 2224b7cfa5a1adb17fcec0e14fa3c5e507446291 (diff) |
userid became LONG everywhere
git-svn-id: http://svn.miranda-ng.org/main/trunk@6475 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_avatars.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_avatars.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_avatars.cpp b/protocols/VKontakte/src/vk_avatars.cpp index 53d583b657..a939cd2820 100644 --- a/protocols/VKontakte/src/vk_avatars.cpp +++ b/protocols/VKontakte/src/vk_avatars.cpp @@ -109,7 +109,7 @@ void CVkProto::GetAvatarFileName(HANDLE hContact, TCHAR* pszDest, size_t cbLen) szFileType = p;
}
- ptrA id( getStringA(hContact, "ID"));
- mir_sntprintf(pszDest + tPathLen, MAX_PATH - tPathLen, _T("%S%s"), id, szFileType);
+ LONG id = getDword(hContact, "ID", -1);
+ mir_sntprintf(pszDest + tPathLen, MAX_PATH - tPathLen, _T("%d%s"), id, szFileType);
}
|