aboutsummaryrefslogtreecommitdiff
path: root/src/base/string/grow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/string/grow.c')
-rw-r--r--src/base/string/grow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/base/string/grow.c b/src/base/string/grow.c
index 39a9d2f..6abe4cc 100644
--- a/src/base/string/grow.c
+++ b/src/base/string/grow.c
@@ -4,11 +4,11 @@
// if it already can, this is a no op.
// if it can't, the string will be reallocated.
void
-str·grow(string *s, vlong delta)
+string·grow(string *s, vlong delta)
{
Hdr *h, *newh;
- vlong cap = str·cap(*s);
- vlong len = str·len(*s);
+ vlong cap = string·cap(*s);
+ vlong len = string·len(*s);
assert(cap >= len); // To prevent unsigned behavior
if (cap - len >= delta) return;