aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/solvers/tables.h4
-rw-r--r--tools/nissy_extra.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/solvers/tables.h b/src/solvers/tables.h
index 9147972..53091f9 100644
--- a/src/solvers/tables.h
+++ b/src/solvers/tables.h
@@ -39,7 +39,7 @@ readtableinfo(
39 39
40 if (buf_size < INFOSIZE) { 40 if (buf_size < INFOSIZE) {
41 LOG("Error reading table: buffer size is too small " 41 LOG("Error reading table: buffer size is too small "
42 "(given size %" PRIu64 " is smaller than INFOSIZE = %" 42 "(given size %zu is smaller than INFOSIZE = %"
43 PRId64 ")\n", buf_size, INFOSIZE); 43 PRId64 ")\n", buf_size, INFOSIZE);
44 return NISSY_ERROR_BUFFER_SIZE; 44 return NISSY_ERROR_BUFFER_SIZE;
45 } 45 }
@@ -97,7 +97,7 @@ writetableinfo(
97 97
98 if (data_size < info->fullsize) { 98 if (data_size < info->fullsize) {
99 LOG("Error writing table: buffer size is too small " 99 LOG("Error writing table: buffer size is too small "
100 "(given %" PRId64 " but table requires %" PRId64 ")\n", 100 "(given %zu but table requires %" PRId64 ")\n",
101 data_size, info->fullsize); 101 data_size, info->fullsize);
102 return NISSY_ERROR_BUFFER_SIZE; 102 return NISSY_ERROR_BUFFER_SIZE;
103 } 103 }
diff --git a/tools/nissy_extra.h b/tools/nissy_extra.h
index 63d171b..8b27c3e 100644
--- a/tools/nissy_extra.h
+++ b/tools/nissy_extra.h
@@ -10,5 +10,5 @@ for testing purposes only.
10#include "../src/solvers/tables.h" 10#include "../src/solvers/tables.h"
11 11
12size_t gendata_h48_derive(uint8_t, const unsigned char *, unsigned char *); 12size_t gendata_h48_derive(uint8_t, const unsigned char *, unsigned char *);
13int parse_h48_solver(const char *, uint8_t [static 1], uint8_t [static 1]); 13long long parse_h48_solver(const char *, uint8_t [static 1], uint8_t [static 1]);
14long long int nissy_datainfo(uint64_t, const unsigned char *); 14long long int nissy_datainfo(uint64_t, const unsigned char *);

Generated with cgit - Back to sebastiano.tronto.net