summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-24 12:29:37 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-24 12:29:37 +0000
commitdc2a9c66749ef4c8c6a748218bf80b80d0bbe0d6 (patch)
tree4d854eda13f45812127bb1773730355c26dff417 /protocols/WhatsApp/src/WhatsAPI++/WAConnection.h
parent852df1e2fd8a0e220065b0eb1443b3e834101531 (diff)
- custom base64 encoder removed;
- warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@5117 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/WAConnection.h')
-rw-r--r--protocols/WhatsApp/src/WhatsAPI++/WAConnection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h
index 286a0eacca..9ee5d3e48f 100644
--- a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h
+++ b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.h
@@ -38,7 +38,7 @@ public:
virtual void onClientConfigReceived(const std::string& paramString)=0;
virtual void onLastSeen(const std::string& paramString1, int paramInt, std::string* paramString2)=0;
virtual void onIsTyping(const std::string& paramString, bool paramBoolean)=0;
- virtual void onAccountChange(int paramInt, long paramLong)=0;
+ virtual void onAccountChange(int paramInt, time_t paramLong)=0;
virtual void onPrivacyBlockListAdd(const std::string& paramString)=0;
virtual void onPrivacyBlockListClear()=0;
virtual void onDirty(const std::map<string,string>& paramHashtable)=0;
@@ -269,7 +269,7 @@ class WAConnection {
if ((attributeValue != NULL) && (attributeValue->compare("result") == 0) && (this->con->event_handler != NULL)) {
std::vector<ProtocolTreeNode*>* children = node->getAllChildren("picture");
- for (int i = 0; i < children->size(); i++) {
+ for (size_t i = 0; i < children->size(); i++) {
ProtocolTreeNode* current = (*children)[i];
std::string* id = current->getAttributeValue("id");
if ((id != NULL) && (current->data != NULL) && (current->data->size() > 0)) {
@@ -317,7 +317,7 @@ class WAConnection {
ProtocolTreeNode* groupNode = node->getChild("list");
std::vector<ProtocolTreeNode*>* children = groupNode->getAllChildren("user");
std::map<std::string, std::string> ids;
- for (int i = 0; i < children->size(); i++) {
+ for (size_t i = 0; i < children->size(); i++) {
std::string* jid = (*children)[i]->getAttributeValue("jid");
std::string* id = (*children)[i]->getAttributeValue("id");
if (jid != NULL) {