summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/kit/atomic.h4
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