diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2020-12-05 15:26:59 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2020-12-06 01:08:22 +0000 |
commit | 37763d38fbf5db932be8d6a0070255839e7719ca (patch) | |
tree | 4eee46a0f689872fc4b8440e91ff82ec0ee3b154 /src/attr_file.c | |
parent | 9800728a746b872fdd22db9e68bc85ef0c851f27 (diff) | |
download | libgit2-37763d38fbf5db932be8d6a0070255839e7719ca.tar.gz |
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`).
Diffstat (limited to 'src/attr_file.c')
-rw-r--r-- | src/attr_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |