util/disk_cache: Align atomic size.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22121>
This commit is contained in:

committed by
Marge Bot

parent
1c2d90f17a
commit
02c46fa1e8
@@ -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;
|
||||
|
Reference in New Issue
Block a user