diff options
| author | Tyge Løvset <[email protected]> | 2023-04-27 12:41:24 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-04-27 12:41:24 +0200 |
| commit | ba3f2284731e50100d249cf1d825b8d24efad658 (patch) | |
| tree | 888fd07f8dac722c913cb3bd7358dd20dafce70c /include/stc/cmap.h | |
| parent | 9d5766ae528595050dcfe0db4c1c3c0c058b186c (diff) | |
| download | STC-modified-ba3f2284731e50100d249cf1d825b8d24efad658.tar.gz STC-modified-ba3f2284731e50100d249cf1d825b8d24efad658.zip | |
removing compiler warning ++.
Diffstat (limited to 'include/stc/cmap.h')
| -rw-r--r-- | include/stc/cmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/cmap.h b/include/stc/cmap.h index 65e4a544..9f21b811 100644 --- a/include/stc/cmap.h +++ b/include/stc/cmap.h @@ -422,7 +422,7 @@ _cx_memb(_reserve)(_cx_self* self, const intptr_t _newcap) { return true; intptr_t _newbucks = (intptr_t)((float)_newcap / (i_max_load_factor)) + 4; #if i_expandby == 2 - _newbucks = (intptr_t)next_power_of_2(_newbucks); + _newbucks = (intptr_t)next_power_of_2((uint64_t)_newbucks); #else _newbucks |= 1; #endif |
