diff options
Diffstat (limited to 'src/solvers')
| -rw-r--r-- | src/solvers/coord/gendata.h | 2 | ||||
| -rw-r--r-- | src/solvers/coord/utils.h | 4 | ||||
| -rw-r--r-- | src/solvers/h48/gendata_h48.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/solvers/coord/gendata.h b/src/solvers/coord/gendata.h index 63e1631..6abb5eb 100644 --- a/src/solvers/coord/gendata.h +++ b/src/solvers/coord/gendata.h | |||
| @@ -22,7 +22,7 @@ gendata_coord_dispatch(const char *coordstr, void *buf) | |||
| 22 | parse_coord_and_axis(strlen(coordstr), coordstr, &coord, NULL); | 22 | parse_coord_and_axis(strlen(coordstr), coordstr, &coord, NULL); |
| 23 | 23 | ||
| 24 | if (coord == NULL) { | 24 | if (coord == NULL) { |
| 25 | LOG("Could not parse coordinate '%s'\n", coord); | 25 | LOG("Could not parse coordinate '%s'\n", coordstr); |
| 26 | return NISSY_ERROR_INVALID_SOLVER; | 26 | return NISSY_ERROR_INVALID_SOLVER; |
| 27 | } | 27 | } |
| 28 | 28 | ||
diff --git a/src/solvers/coord/utils.h b/src/solvers/coord/utils.h index e9d0595..5407de3 100644 --- a/src/solvers/coord/utils.h +++ b/src/solvers/coord/utils.h | |||
| @@ -2,7 +2,7 @@ STATIC coord_t *parse_coord(size_t n, const char [n]); | |||
| 2 | STATIC uint8_t parse_axis(size_t n, const char [n]); | 2 | STATIC uint8_t parse_axis(size_t n, const char [n]); |
| 3 | STATIC void parse_coord_and_axis( | 3 | STATIC void parse_coord_and_axis( |
| 4 | size_t n, const char [n], coord_t **, uint8_t *); | 4 | size_t n, const char [n], coord_t **, uint8_t *); |
| 5 | STATIC int64_t dataid_coord(const char *, char [static NISSY_DATAID_SIZE]); | 5 | STATIC int64_t dataid_coord(const char *, char [static NISSY_SIZE_DATAID]); |
| 6 | 6 | ||
| 7 | STATIC coord_t * | 7 | STATIC coord_t * |
| 8 | parse_coord(size_t n, const char coord[n]) | 8 | parse_coord(size_t n, const char coord[n]) |
| @@ -52,7 +52,7 @@ parse_coord_and_axis( | |||
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | STATIC int64_t | 54 | STATIC int64_t |
| 55 | dataid_coord(const char *ca, char dataid[static NISSY_DATAID_SIZE]) | 55 | dataid_coord(const char *ca, char dataid[static NISSY_SIZE_DATAID]) |
| 56 | { | 56 | { |
| 57 | coord_t *c; | 57 | coord_t *c; |
| 58 | 58 | ||
diff --git a/src/solvers/h48/gendata_h48.h b/src/solvers/h48/gendata_h48.h index b6647ed..ba0cc50 100644 --- a/src/solvers/h48/gendata_h48.h +++ b/src/solvers/h48/gendata_h48.h | |||
| @@ -232,7 +232,7 @@ gendata_h48h0k4(gendata_h48_arg_t arg[static 1]) | |||
| 232 | bfsarg[t].table_mutex[tt] = &table_mutex[tt]; | 232 | bfsarg[t].table_mutex[tt] = &table_mutex[tt]; |
| 233 | } | 233 | } |
| 234 | for (done = 1, d = 1; done < h48max && d <= arg->maxdepth; d++) { | 234 | for (done = 1, d = 1; done < h48max && d <= arg->maxdepth; d++) { |
| 235 | LOG("h48: generating depth %" PRIu8 "\n", d); | 235 | LOG("h48: generating depth %" PRId64 "\n", d); |
| 236 | 236 | ||
| 237 | for (t = 0; t < THREADS; t++) { | 237 | for (t = 0; t < THREADS; t++) { |
| 238 | bfsarg[t].depth = d; | 238 | bfsarg[t].depth = d; |
