From dc2a9c66749ef4c8c6a748218bf80b80d0bbe0d6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 24 Jun 2013 12:29:37 +0000 Subject: - custom base64 encoder removed; - warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@5117 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/WhatsAPI++/ByteArray.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/WhatsApp/src/WhatsAPI++/ByteArray.cpp') diff --git a/protocols/WhatsApp/src/WhatsAPI++/ByteArray.cpp b/protocols/WhatsApp/src/WhatsAPI++/ByteArray.cpp index f379a2061a..5c7d16042e 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/ByteArray.cpp +++ b/protocols/WhatsApp/src/WhatsAPI++/ByteArray.cpp @@ -5,6 +5,7 @@ * Author: Antonio */ +#include "../common.h" #include "ByteArray.h" #include "WAException.h" #include @@ -116,7 +117,7 @@ int ByteArrayInputStream::read(std::vector& b, size_t off, size_ } } catch (std::exception& ) { } - return i; + return (int)i; } ByteArrayInputStream::~ByteArrayInputStream() { -- cgit v1.2.3