Merge branch 'jk/strvec-typefix' into maint

Correct nr and alloc members of strvec struct to be of type size_t.

* jk/strvec-typefix:
  strvec: use size_t to store nr and alloc
This commit is contained in:
Junio C Hamano 2021-10-12 13:51:47 -07:00
commit 9cfc01e560

View File

@ -29,8 +29,8 @@ extern const char *empty_strvec[];
*/
struct strvec {
const char **v;
int nr;
int alloc;
size_t nr;
size_t alloc;
};
#define STRVEC_INIT { empty_strvec, 0, 0 }