Force use of signed char in mimesis.cpp

Fix #270

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
This commit is contained in:
Robert-André Mauchin 2020-08-29 17:28:30 +02:00
parent c5bd83e6af
commit 3946bfd9b6
No known key found for this signature in database
GPG Key ID: F07E690B12A82D56

View File

@ -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,