diff options
Diffstat (limited to 'src/solvers/coord')
| -rw-r--r-- | src/solvers/coord/gendata.h | 2 | ||||
| -rw-r--r-- | src/solvers/coord/utils.h | 4 |
2 files changed, 3 insertions, 3 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 | ||
