From 37763d38fbf5db932be8d6a0070255839e7719ca Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Sat, 5 Dec 2020 15:26:59 +0000 Subject: threads: rename git_atomic to git_atomic32 Clarify the `git_atomic` type and functions now that we have a 64 bit version as well (`git_atomic64`). --- src/attr_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/attr_file.c') diff --git a/src/attr_file.c b/src/attr_file.c index 0781c1d61..adc56d53e 100644 --- a/src/attr_file.c +++ b/src/attr_file.c @@ -960,7 +960,7 @@ int git_attr_session__init(git_attr_session *session, git_repository *repo) GIT_ASSERT_ARG(repo); memset(session, 0, sizeof(*session)); - session->key = git_atomic_inc(&repo->attr_session_key); + session->key = git_atomic32_inc(&repo->attr_session_key); return 0; } -- cgit v1.2.1