summaryrefslogtreecommitdiff
path: root/core/upb_string.c
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2011-01-10 20:37:04 -0800
committerJoshua Haberman <joshua@reverberate.org>2011-01-10 20:37:04 -0800
commitbcc688a303439c758a47da9f0eb1c064ece6ce09 (patch)
tree4a6cfe35a040bffcb48a18ceac90506752244af6 /core/upb_string.c
parent45599180905d45a882970f6ca8b6007436ac3f97 (diff)
upb_def compiles again!
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