aboutsummaryrefslogtreecommitdiff
path: root/src/nissy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nissy.c')
-rw-r--r--src/nissy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nissy.c b/src/nissy.c
index ba43e5d..f22f606 100644
--- a/src/nissy.c
+++ b/src/nissy.c
@@ -105,7 +105,7 @@ distribution_equal(
105 int wrong; 105 int wrong;
106 uint8_t i; 106 uint8_t i;
107 107
108 for (i = 0, wrong = 0; i <= MAX(maxvalue, 20); i++) { 108 for (i = 0, wrong = 0; i <= MIN(maxvalue, 20); i++) {
109 if (expected[i] != actual[i]) { 109 if (expected[i] != actual[i]) {
110 wrong++; 110 wrong++;
111 LOG("Value %" PRIu8 ": expected %" PRIu64 ", found %" 111 LOG("Value %" PRIu8 ": expected %" PRIu64 ", found %"

Generated with cgit - Back to sebastiano.tronto.net