summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_struct.h
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2017-03-19 15:46:52 +0500
committerElzorFox <elzorfox@ya.ru>2017-03-19 15:46:52 +0500
commitfbe3739da349afbb2e42bc6c1ce5a20b657289ac (patch)
tree32839dc042b540c01b1cd10274a464ecb2dfb635 /protocols/VKontakte/src/vk_struct.h
parent71a8b0d202f89ae3a53fa3978b2588e79511da1b (diff)
VKontakte:
fix sending API requests (maximum 3 requests to API methods per second) fix sending long and uint parameters as signed int version bump
Diffstat (limited to 'protocols/VKontakte/src/vk_struct.h')
-rw-r--r--protocols/VKontakte/src/vk_struct.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_struct.h b/protocols/VKontakte/src/vk_struct.h
index 9b2e05766a..7b94c9e461 100644
--- a/protocols/VKontakte/src/vk_struct.h
+++ b/protocols/VKontakte/src/vk_struct.h
@@ -54,8 +54,8 @@ struct PARAM
struct INT_PARAM : public PARAM
{
- int iValue;
- __forceinline INT_PARAM(LPCSTR _name, int _value) :
+ long iValue;
+ __forceinline INT_PARAM(LPCSTR _name, long _value) :
PARAM(_name), iValue(_value)
{}
};