diff options
Diffstat (limited to 'upb/pb/varint.h')
-rw-r--r-- | upb/pb/varint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/pb/varint.h b/upb/pb/varint.h index 1bbd193..19977e9 100644 --- a/upb/pb/varint.h +++ b/upb/pb/varint.h @@ -113,7 +113,7 @@ INLINE upb_decoderet upb_vdecode_max8_fast(upb_decoderet r) { /* Encoding *******************************************************************/ -INLINE size_t upb_value_size(uint64_t val) { +INLINE int upb_value_size(uint64_t val) { #ifdef __GNUC__ int high_bit = 63 - __builtin_clzll(val); // 0-based, undef if val == 0. #else |