diff options
author | Joshua Haberman <joshua@reverberate.org> | 2011-01-10 20:37:04 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2011-01-10 20:37:04 -0800 |
commit | bcc688a303439c758a47da9f0eb1c064ece6ce09 (patch) | |
tree | 4a6cfe35a040bffcb48a18ceac90506752244af6 /core/upb_string.c | |
parent | 45599180905d45a882970f6ca8b6007436ac3f97 (diff) |
upb_def compiles again!
Diffstat (limited to 'core/upb_string.c')
-rw-r--r-- | core/upb_string.c | 2 |
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); |