base64: clarify signedness in negative initialization

Some platforms do not use signed char (arm)
pull/4673/head
Ian Coolidge 9 years ago
parent 8e7a4b66e8
commit 069384da5e
  1. 3
      src/core/security/base64.c

@ -33,6 +33,7 @@
#include "src/core/security/base64.h"
#include <stdint.h>
#include <string.h>
#include <grpc/support/alloc.h>
@ -41,7 +42,7 @@
/* --- 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,

Loading…
Cancel
Save