mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-25 17:50:39 +02:00
util/disk_cache: Align atomic size.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22121>
This commit is contained in:
parent
1c2d90f17a
commit
02c46fa1e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue