summaryrefslogtreecommitdiff
path: root/protocols/Xfire
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-12-13 10:34:55 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-12-13 10:34:55 +0000
commit518e10779e770eac62fcedc96e750e538fa395ba (patch)
tree3293ee5f3c2c6c5bffa1cb757dc52519d30352f2 /protocols/Xfire
parentb5b57169c2833b9e70cc4cff7cae127c11f02683 (diff)
Minor warnings fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@11364 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire')
-rw-r--r--protocols/Xfire/src/clanbuddylistnamespacket.cpp12
-rw-r--r--protocols/Xfire/src/friendsoffriendlist.cpp4
2 files changed, 8 insertions, 8 deletions
diff --git a/protocols/Xfire/src/clanbuddylistnamespacket.cpp b/protocols/Xfire/src/clanbuddylistnamespacket.cpp
index 2a1b4c77a6..76269a01cf 100644
--- a/protocols/Xfire/src/clanbuddylistnamespacket.cpp
+++ b/protocols/Xfire/src/clanbuddylistnamespacket.cpp
@@ -51,7 +51,7 @@ namespace xfirelib {
VariableValue friends;
- XDEBUG2( "Len: %ld\n", length );
+ XDEBUG2( "Len: %d\n", length );
index+=2; //paar bytes überspringen
@@ -66,7 +66,7 @@ namespace xfirelib {
int numberOfIds = friends.getValueAsLong();
- XDEBUG2( "numberofId: %ld\n", numberOfIds );
+ XDEBUG2( "numberofId: %d\n", numberOfIds );
for(int i = 0 ; i < numberOfIds ; i++) {
index += friends.readValue(buf,index,4);
@@ -74,13 +74,13 @@ namespace xfirelib {
XDEBUG3( "UserID: %ld %ld\n",i+1, friends.getValueAsLong() );
}
- XDEBUG2( "NextByte: %ld\n",buf[index] );
- XDEBUG2( "NextByte: %ld\n",buf[index+1] );
+ XDEBUG2( "NextByte: %c\n",buf[index] );
+ XDEBUG2( "NextByte: %c\n",buf[index+1] );
index+=3; //nächsten 3 skippen
- XDEBUG2( "NextByte: %ld\n",buf[index] );
- XDEBUG2( "NextByte: %ld\n",buf[index+1] );
+ XDEBUG2( "NextByte: %c\n",buf[index] );
+ XDEBUG2( "NextByte: %c\n",buf[index+1] );
usernames = new vector<string>;
index = readStrings(usernames,buf,index);
diff --git a/protocols/Xfire/src/friendsoffriendlist.cpp b/protocols/Xfire/src/friendsoffriendlist.cpp
index bb2c4f884f..c2c5fa5c70 100644
--- a/protocols/Xfire/src/friendsoffriendlist.cpp
+++ b/protocols/Xfire/src/friendsoffriendlist.cpp
@@ -50,12 +50,12 @@ namespace xfirelib {
VariableValue friends;
- XDEBUG2( "Len: %ld\n", length );
+ XDEBUG2( "Len: %d\n", length );
index+=8; //paar bytes überspringen
int numberOfIds = (unsigned char)buf[index];
- XDEBUG2( "numberofId: %ld\n", numberOfIds );
+ XDEBUG2( "numberofId: %d\n", numberOfIds );
index++;
index++;//ignore 00
sids = new vector<char *>;