summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/WhatsApp/src/messages.cpp')
-rw-r--r--protocols/WhatsApp/src/messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/WhatsApp/src/messages.cpp b/protocols/WhatsApp/src/messages.cpp
index 1c77454c97..fff3d6caf5 100644
--- a/protocols/WhatsApp/src/messages.cpp
+++ b/protocols/WhatsApp/src/messages.cpp
@@ -178,7 +178,7 @@ void WhatsAppProto::onMessageStatusUpdate(FMessage* fmsg)
int header;
int id;
- int delimPos = fmsg->key->id.find("-");
+ size_t delimPos = fmsg->key->id.find("-");
std::stringstream ss;
ss << fmsg->key->id.substr(0, delimPos);