From 49da1d2e3b8a5683ae3ca8dde9c7341b1f8d83bc Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Thu, 5 Jul 2018 22:04:35 -0400 Subject: [PATCH] crypt: Use int8 instead of int. --- src/system/libroot/posix/crypt/crypt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/libroot/posix/crypt/crypt.cpp b/src/system/libroot/posix/crypt/crypt.cpp index 8725d21f56..c932565fd4 100644 --- a/src/system/libroot/posix/crypt/crypt.cpp +++ b/src/system/libroot/posix/crypt/crypt.cpp @@ -3,7 +3,7 @@ * Distributed under the terms of the MIT License. * * Authors: - * Andrew Aldridge, i80and@foxquill.com + * Andrew Aldridge, i80and@foxquill.com */ @@ -28,7 +28,7 @@ #define CRYPT_OUTPUT_BYTES (6 + 64 + 1 + 64 + 1) static const char* kHexAlphabet = "0123456789abcdef"; -static const int kHexLookup[] = { +static const int8 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,