summaryrefslogtreecommitdiffstats
path: root/base85.c
diff options
context:
space:
mode:
Diffstat (limited to 'base85.c')
-rw-r--r--base85.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/base85.c b/base85.c
index a6b8272039..80e899a2b1 100644
--- a/base85.c
+++ b/base85.c
@@ -1,5 +1,3 @@
-#define DISABLE_SIGN_COMPARE_WARNINGS
-
#include "git-compat-util.h"
#include "base85.h"
@@ -31,10 +29,9 @@ static const char en85[] = {
static char de85[256];
static void prep_base85(void)
{
- int i;
if (de85['Z'])
return;
- for (i = 0; i < ARRAY_SIZE(en85); i++) {
+ for (size_t i = 0; i < ARRAY_SIZE(en85); i++) {
int ch = en85[i];
de85[ch] = i + 1;
}