summaryrefslogtreecommitdiff
path: root/core/upb_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/upb_string.c')
-rw-r--r--core/upb_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/upb_string.c b/core/upb_string.c
index 4f5f5c2..b243dfd 100644
--- a/core/upb_string.c
+++ b/core/upb_string.c
@@ -73,7 +73,7 @@ upb_string *upb_string_tryrecycle(upb_string *str) {
char *upb_string_getrwbuf(upb_string *str, upb_strlen_t len) {
// assert(str->ptr == NULL);
- uint32_t size = upb_string_size(str);
+ upb_strlen_t size = upb_string_size(str);
if (size < len) {
size = upb_round_up_pow2(len);
str->cached_mem = realloc(str->cached_mem, size);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback