diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-05-09 18:36:24 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-05-09 18:36:24 +0200 |
| commit | 5bb2b50a3f92c727ddf468df16bbc60a173d3115 (patch) | |
| tree | e974ee69df1687b6b4d658dfe474937975718cfa /src/solvers/tables.h | |
| parent | 8e931537ff13137f49de58b84898a13ed3cdeeef (diff) | |
| download | nissy-core-5bb2b50a3f92c727ddf468df16bbc60a173d3115.tar.gz nissy-core-5bb2b50a3f92c727ddf468df16bbc60a173d3115.zip | |
Other minor fixes
Diffstat (limited to 'src/solvers/tables.h')
| -rw-r--r-- | src/solvers/tables.h | 4 |
1 files changed, 2 insertions, 2 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 | } |
