diff options
Diffstat (limited to 'protocols/VKontakte/src/vk_messages.cpp')
| -rw-r--r-- | protocols/VKontakte/src/vk_messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_messages.cpp b/protocols/VKontakte/src/vk_messages.cpp index 63d5ce317b..395f1818cd 100644 --- a/protocols/VKontakte/src/vk_messages.cpp +++ b/protocols/VKontakte/src/vk_messages.cpp @@ -101,7 +101,7 @@ void CVkProto::OnSendMessage(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq) mid = jnResponse.as_int();
break;
case JSON_STRING:
- if (swscanf(jnResponse.as_mstring(), L"%d", &mid) != 1)
+ if (swscanf(jnResponse.as_mstring(), L"%u", &mid) != 1)
mid = 0;
break;
case JSON_ARRAY:
|
