Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-10-12 23:51:47 +0300
committerJunio C Hamano <gitster@pobox.com>2021-10-12 23:51:47 +0300
commit9cfc01e5603169b784b67721e115537b229f5712 (patch)
tree0f15823d418dffe52637dedaa74d3d448eafeba3
parentb809c3d9005cdbf6b193a78a32240b247ee81b36 (diff)
parent8d133a4653abed4b06d3deb8bd71cf55cd87c990 (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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/strvec.h b/strvec.h
index fdcad75b45..6b3cbd6758 100644
--- a/strvec.h
+++ b/strvec.h
@@ -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 }