diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-10-12 23:51:47 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-12 23:51:47 +0300 |
commit | 9cfc01e5603169b784b67721e115537b229f5712 (patch) | |
tree | 0f15823d418dffe52637dedaa74d3d448eafeba3 | |
parent | b809c3d9005cdbf6b193a78a32240b247ee81b36 (diff) | |
parent | 8d133a4653abed4b06d3deb8bd71cf55cd87c990 (diff) |
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
-rw-r--r-- | strvec.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |