diff options
author | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-15 02:18:27 +0400 |
---|---|---|
committer | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-15 02:18:27 +0400 |
commit | e475b4657527f8de436f11381b3d331bf7116d15 (patch) | |
tree | 8d80974812539369b1612702d2ae6588a89b0146 /source | |
parent | 692f78ed03069a573cd893e191cbbf933289ddc7 (diff) | |
download | kit-e475b4657527f8de436f11381b3d331bf7116d15.zip |
[atomic] Use signed type on Windows
Diffstat (limited to 'source')
-rw-r--r-- | source/kit/atomic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/kit/atomic.h b/source/kit/atomic.h index 9100cd8..4b3e720 100644 --- a/source/kit/atomic.h +++ b/source/kit/atomic.h @@ -21,9 +21,9 @@ enum { memory_order_seq_cst }; # ifdef _WIN64 -# define KIT_ATOMIC_VAR uint64_t +# define KIT_ATOMIC_VAR int64_t # else -# define KIT_ATOMIC_VAR uint32_t +# define KIT_ATOMIC_VAR int32_t # endif # define KIT_ATOMIC(type_) volatile KIT_ATOMIC_VAR |