mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 08:20:28 +00:00
mask big()->c
Clearly we aren't exercising the capacity increase logic very hard yet.
This commit is contained in:
parent
9154a579c7
commit
f279754e10
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ class string
|
|||
if (isbig() && big()->c <= __::sso_max)
|
||||
__builtin_trap();
|
||||
#endif
|
||||
return isbig() ? big()->c : __::sso_max;
|
||||
return isbig() ? __::big_mask & big()->c : __::sso_max;
|
||||
}
|
||||
|
||||
iterator begin() noexcept
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue