summaryrefslogtreecommitdiff
path: root/src/upb_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb_string.c')
-rw-r--r--src/upb_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upb_string.c b/src/upb_string.c
index 8625f76..122eec4 100644
--- a/src/upb_string.c
+++ b/src/upb_string.c
@@ -35,7 +35,7 @@ upb_string *upb_string_new() {
str->size = 0;
#endif
str->src = NULL;
- upb_atomic_refcount_init(&str->refcount, 1);
+ upb_atomic_init(&str->refcount, 1);
return str;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback