Skip to content

Commit

Permalink
Fix type mistmatch.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Feb 5, 2024
1 parent e80d1e4 commit eabc119
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demo/ers-etrs/test-bench.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include "assert.h"

static void ers(void) {
int size;
size_t size;
ec_t pp, pk[MAX_KEYS], *ptr;
bn_t sk[MAX_KEYS], td;
ers_t ring[MAX_KEYS];
Expand Down Expand Up @@ -121,7 +121,7 @@ static void ers(void) {
}

static void smlers(void) {
int size;
size_t size;
ec_t pp, pk[MAX_KEYS], *ptr;
bn_t sk[MAX_KEYS], td[MAX_KEYS], y[MAX_KEYS];
smlers_t ring[MAX_KEYS];
Expand Down Expand Up @@ -214,7 +214,7 @@ static void smlers(void) {
#define MIN_KEYS 64

static void etrs(void) {
int size;
size_t size;
ec_t pp, pk[MAX_KEYS], *ptr;
bn_t sk[MAX_KEYS], td[MAX_KEYS], y[MAX_KEYS];
etrs_t ring[MAX_KEYS];
Expand Down

0 comments on commit eabc119

Please sign in to comment.