Skip to content

Commit 98de8f9

Browse files
fixed c++ build error narrowing conversion of '-1' from 'int' to 'char' on armv7
1 parent ce311ff commit 98de8f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base/src/base64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ ssize_t encode_blockend(char* code_out, encodestate* state_in)
134134

135135
ssize_t decode_value(char value_in)
136136
{
137-
static const char decoding[] = {
137+
static const signed char decoding[] = {
138138
62, -1, -1, -1, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1,
139139
-1, -1, -2, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
140140
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,

0 commit comments

Comments
 (0)