util/disk_cache: Align atomic size.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22121>
This commit is contained in:
Bas Nieuwenhuizen
2023-03-26 00:06:24 +01:00
committed by Marge Bot
parent 1c2d90f17a
commit 02c46fa1e8

View File

@@ -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;