Skip to content
Snippets Groups Projects
Commit 069384da authored by Ian Coolidge's avatar Ian Coolidge
Browse files

base64: clarify signedness in negative initialization

Some platforms do not use signed char (arm)
parent 8e7a4b66
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include "src/core/security/base64.h" #include "src/core/security/base64.h"
#include <stdint.h>
#include <string.h> #include <string.h>
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
...@@ -41,7 +42,7 @@ ...@@ -41,7 +42,7 @@
/* --- Constants. --- */ /* --- Constants. --- */
static const char base64_bytes[] = { static const int8_t base64_bytes[] = {
-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, -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment