We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52f85e6 commit ac7ebe7Copy full SHA for ac7ebe7
2 files changed
contrib/csnippets/codec/base64.c
@@ -6,7 +6,7 @@
6
#include <stddef.h>
7
#include <stdint.h>
8
9
-static const unsigned char encoding_table[64] =
+static const unsigned char encoding_table[] =
10
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
11
12
bool base64_encode(
src/ruleset/marshal.c
@@ -132,8 +132,8 @@ static void
132
marshal_number(lua_State *restrict L, struct vbuffer *restrict *restrict pvbuf)
133
{
134
const int idx = 1;
135
- static const char prefix[3] = "-0x";
136
- static const char xdigits[16] = "0123456789abcdef";
+ static const char prefix[] = "-0x";
+ static const char xdigits[] = "0123456789abcdef";
137
unsigned char buf[120];
138
139
/* Handle integer values */
0 commit comments