libroot: Use 'int' not 'char' in crypt code.
It seems 'char' is unsigned on ARM, so GCC errors on the -1s in here.
This commit is contained in:
parent
b806d76f78
commit
382d022473
@ -28,7 +28,7 @@
|
||||
#define CRYPT_OUTPUT_BYTES (6 + 64 + 1 + 64 + 1)
|
||||
|
||||
static const char* kHexAlphabet = "0123456789abcdef";
|
||||
static const char kHexLookup[] = {
|
||||
static const int kHexLookup[] = {
|
||||
-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, 1, 2, 3,
|
||||
|
Loading…
Reference in New Issue
Block a user