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
path: root/trace2
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2022-10-24 16:41:00 +0300
committerJunio C Hamano <gitster@pobox.com>2022-10-24 22:45:25 +0300
commit545ddca0c32cb3ccdffed4aa9f063c84b432940c (patch)
tree9be489a091818b25d5a72fe5f3cb754ca8bebda6 /trace2
parentd420dda0576340909c3faff364cfbd1485f70376 (diff)
trace2: use size_t alloc,nr_open_regions in tr2tls_thread_ctx
Use "size_t" rather than "int" for the "alloc" and "nr_open_regions" fields in the "tr2tls_thread_ctx". These are used by ALLOC_GROW(). Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace2')
-rw-r--r--trace2/tr2_tls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/trace2/tr2_tls.h b/trace2/tr2_tls.h
index b1e327a928..a90bd639d4 100644
--- a/trace2/tr2_tls.h
+++ b/trace2/tr2_tls.h
@@ -11,8 +11,8 @@
struct tr2tls_thread_ctx {
struct strbuf thread_name;
uint64_t *array_us_start;
- int alloc;
- int nr_open_regions; /* plays role of "nr" in ALLOC_GROW */
+ size_t alloc;
+ size_t nr_open_regions; /* plays role of "nr" in ALLOC_GROW */
int thread_id;
};