mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Fix type of refs
This commit is contained in:
parent
2fc507c98f
commit
6cedbc746c
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ static void *__zipos_mmap_space(size_t mapsize) {
|
|||
}
|
||||
|
||||
struct ZiposHandle *__zipos_keep(struct ZiposHandle *h) {
|
||||
int refs = atomic_fetch_add_explicit(&h->refs, 1, memory_order_relaxed);
|
||||
size_t refs = atomic_fetch_add_explicit(&h->refs, 1, memory_order_relaxed);
|
||||
unassert(!VERY_UNLIKELY(refs > MAX_REFS));
|
||||
return h;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue