diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-09-23 13:44:46 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-23 13:44:46 -0700 |
commit | 91b2c793947e1ef39a022c520be28f3f7d72e674 (patch) | |
tree | 6f60e5f6218b3c5f536f73d094329c9a29c75f5a | |
parent | Merge branch 'rs/drop-core-compression-vars' (diff) | |
parent | strvec: use size_t to store nr and alloc (diff) | |
download | tgif-91b2c793947e1ef39a022c520be28f3f7d72e674.tar.xz |
Merge branch 'jk/strvec-typefix'
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 } |