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/transports/local.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/transports/local.c')
-rw-r--r-- | src/transports/local.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transports/local.c b/src/transports/local.c index 4af85db81..bb31b1345 100644 --- a/src/transports/local.c +++ b/src/transports/local.c @@ -36,7 +36,7 @@ typedef struct { char *url; int direction; int flags; - git_atomic cancelled; + git_atomic32 cancelled; git_repository *repo; git_transport_message_cb progress_cb; git_transport_message_cb error_cb; @@ -671,7 +671,7 @@ static void local_cancel(git_transport *transport) { transport_local *t = (transport_local *)transport; - git_atomic_set(&t->cancelled, 1); + git_atomic32_set(&t->cancelled, 1); } static int local_close(git_transport *transport) |