Browse Source

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
maint
Junio C Hamano 3 years ago
parent
commit
9cfc01e560
  1. 4
      strvec.h

4
strvec.h

@ -29,8 +29,8 @@ extern const char *empty_strvec[]; @@ -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 }

Loading…
Cancel
Save