| ... | ... |
@@ -18,7 +18,7 @@ static int cmpchoice(const void *_idx1, const void *_idx2) {
|
| 18 | 18 |
return -1; |
| 19 | 19 |
} |
| 20 | 20 |
|
| 21 |
-static void choices_resize(choices_t *c, int new_capacity) {
|
|
| 21 |
+static void choices_resize(choices_t *c, size_t new_capacity) {
|
|
| 22 | 22 |
c->strings = realloc(c->strings, new_capacity * sizeof(const char *)); |
| 23 | 23 |
|
| 24 | 24 |
if (!c->strings) {
|