From 3946bfd9b6547f4a027f1819bf1b77f9a9b6ee28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= Date: Sat, 29 Aug 2020 17:28:30 +0200 Subject: [PATCH] Force use of signed char in mimesis.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #270 Signed-off-by: Robert-André Mauchin --- src/librssguard/3rd-party/mimesis/mimesis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librssguard/3rd-party/mimesis/mimesis.cpp b/src/librssguard/3rd-party/mimesis/mimesis.cpp index 7f812c0f0..81eb52813 100755 --- a/src/librssguard/3rd-party/mimesis/mimesis.cpp +++ b/src/librssguard/3rd-party/mimesis/mimesis.cpp @@ -38,7 +38,7 @@ using namespace std; namespace Mimesis { static const string base64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - static const char base64_inverse[256] = { + static const signed char base64_inverse[256] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63,