summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-10-04 17:49:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-10-04 17:49:19 +0000
commit65014cc73c6f302923e2cf6f5c2b59f23e7884a3 (patch)
tree555d8e3325a1a97cf6a908cc905bdb69113d839c /protocols
parentde73f6239e174ae95a863ecd7b66809b54110626 (diff)
wanwarning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@17353 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/MSN/src/skylogin/login.c5
-rw-r--r--protocols/Tox/src/tox_network.cpp2
2 files changed, 2 insertions, 5 deletions
diff --git a/protocols/MSN/src/skylogin/login.c b/protocols/MSN/src/skylogin/login.c
index b7931390b2..406ebe279e 100644
--- a/protocols/MSN/src/skylogin/login.c
+++ b/protocols/MSN/src/skylogin/login.c
@@ -284,7 +284,7 @@ static int SendAuthentificationBlobLS(Skype_Inst *pInst, LSConnection *pConn, co
ObjOauth.Family = OBJ_FAMILY_STRING;
ObjOauth.Id = OBJ_ID_OAUTH;
ObjOauth.Value.Memory.Memory = (uchar *)User;
- ObjOauth.Value.Memory.MsZ = strlen(User);
+ ObjOauth.Value.Memory.MsZ = (ulong)strlen(User);
WriteObject(&Browser, ObjOauth);
ObjVer.Family = OBJ_FAMILY_STRING;
@@ -343,9 +343,6 @@ static int SendAuthentificationBlobLS(Skype_Inst *pInst, LSConnection *pConn, co
ManageObjects(&Browser, BSize, &Response);
for (Idx = 0; Idx < Response.NbObj; Idx++)
{
- uint LdIdx = 0;
-
-
switch (Response.Objs[Idx].Id)
{
case OBJ_ID_LOGINANSWER:
diff --git a/protocols/Tox/src/tox_network.cpp b/protocols/Tox/src/tox_network.cpp
index 7ae6d1613c..e895f04dde 100644
--- a/protocols/Tox/src/tox_network.cpp
+++ b/protocols/Tox/src/tox_network.cpp
@@ -131,7 +131,7 @@ void CToxProto::BootstrapNodesFromJson(CToxThread *toxThread, bool isIPv6)
void CToxProto::BootstrapNodes(CToxThread *toxThread)
{
debugLogA(__FUNCTION__": bootstraping DHT");
- bool isUdp = getBool("EnableUDP", 1);
+ // bool isUdp = getBool("EnableUDP", 1);
bool isIPv6 = getBool("EnableIPv6", 0);
BootstrapNodesFromDb(toxThread, isIPv6);
BootstrapNodesFromJson(toxThread, isIPv6);