ecmult: Use size_t for array indices into tables

This commit is contained in:
Tim Ruffing
2026-01-07 11:30:16 +01:00
parent 2d9137ce9d
commit bb1d199de5
4 changed files with 17 additions and 16 deletions

View File

@@ -20,7 +20,7 @@
#include "ecmult_compute_table_impl.h"
static void print_table(FILE *fp, const char *name, int window_g, const secp256k1_ge_storage* table) {
int j;
size_t j;
int i;
fprintf(fp, "const secp256k1_ge_storage %s[ECMULT_TABLE_SIZE(WINDOW_G)] = {\n", name);