aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/math.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/math.h b/src/utils/math.h
index 1ae4013..3ecd313 100644
--- a/src/utils/math.h
+++ b/src/utils/math.h
@@ -138,7 +138,7 @@ digitstosumzero(size_t n, const uint8_t a[n], uint8_t b)
138 size_t i, sum; 138 size_t i, sum;
139 139
140 if (!((n == 8 && b == 3 ) || (n == 12 && b == 2))) { 140 if (!((n == 8 && b == 3 ) || (n == 12 && b == 2))) {
141 LOG("Won't compute 'sumzero' for n=%zu and b=%" PRIu8 141 LOG("Error: won't compute 'sumzero' for n=%zu and b=%" PRIu8
142 " (use n=8 b=3 or n=12 b=2)\n", n, b); 142 " (use n=8 b=3 or n=12 b=2)\n", n, b);
143 return -1; 143 return -1;
144 } 144 }
@@ -168,7 +168,7 @@ sumzerotodigits(int64_t d, size_t n, uint8_t b, uint8_t a[n])
168 size_t i; 168 size_t i;
169 169
170 if (!((n == 8 && b == 3 ) || (n == 12 && b == 2))) { 170 if (!((n == 8 && b == 3 ) || (n == 12 && b == 2))) {
171 LOG("Won't compute 'digits' for n=%zu and b=%" PRIu8 171 LOG("Error: won't compute 'digits' for n=%zu and b=%" PRIu8
172 " (use n=8 b=3 or n=12 b=2)\n", n, b); 172 " (use n=8 b=3 or n=12 b=2)\n", n, b);
173 goto sumzerotodigits_error; 173 goto sumzerotodigits_error;
174 } 174 }

Generated with cgit - Back to sebastiano.tronto.net