From 02c46fa1e8427c25c02120d203d42db001ce2ded Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Sun, 26 Mar 2023 00:06:24 +0100 Subject: [PATCH] util/disk_cache: Align atomic size. Part-of: --- src/util/disk_cache_os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/disk_cache_os.h b/src/util/disk_cache_os.h index b432877068a..0f5f3923304 100644 --- a/src/util/disk_cache_os.h +++ b/src/util/disk_cache_os.h @@ -78,7 +78,7 @@ struct disk_cache { size_t index_mmap_size; /* Pointer to total size of all objects in cache (within index_mmap) */ - uint64_t *size; + p_atomic_uint64_t *size; /* Pointer to stored keys, (within index_mmap). */ uint8_t *stored_keys;