Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
e49e6e60
Commit
e49e6e60
authored
Jan 20, 2018
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build on platforms where char is unsigned.
parent
6052cb94
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
encoding.c++
c++/src/kj/encoding.c++
+1
-1
No files found.
c++/src/kj/encoding.c++
View file @
e49e6e60
...
@@ -774,7 +774,7 @@ int base64_decode_value(char value_in) {
...
@@ -774,7 +774,7 @@ int base64_decode_value(char value_in) {
// Note that the original libb64 implementation used -1 for invalid input, -2 on padding -- this
// Note that the original libb64 implementation used -1 for invalid input, -2 on padding -- this
// new scheme allows for some simpler error checks in steps A and B.
// new scheme allows for some simpler error checks in steps A and B.
static
const
char
decoding
[]
=
{
static
const
signed
char
decoding
[]
=
{
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
1
,
-
1
,
-
3
,
-
1
,
-
1
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
1
,
-
1
,
-
3
,
-
1
,
-
1
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
1
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
62
,
-
3
,
-
3
,
-
3
,
63
,
-
1
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
-
3
,
62
,
-
3
,
-
3
,
-
3
,
63
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment