mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 03:08:31 +00:00
refs is atomic_size_t (#976)
The unassert covers all invalid values rather than a third of them.
This commit is contained in:
parent
450d9b1d43
commit
8dd348067b
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ struct ZiposHandle {
|
|||
size_t size;
|
||||
size_t mapsize;
|
||||
size_t cfile;
|
||||
_Atomic(int) refs;
|
||||
_Atomic(size_t) refs;
|
||||
_Atomic(size_t) pos;
|
||||
uint8_t *mem;
|
||||
uint8_t data[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue