summaryrefslogtreecommitdiff
path: root/upb/pb/varint.int.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb/pb/varint.int.h')
-rw-r--r--upb/pb/varint.int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/upb/pb/varint.int.h b/upb/pb/varint.int.h
index 735bcbe..c8d4929 100644
--- a/upb/pb/varint.int.h
+++ b/upb/pb/varint.int.h
@@ -154,9 +154,9 @@ UPB_INLINE uint64_t upb_vencode32(uint32_t val) {
char buf[UPB_PB_VARINT_MAX_LEN];
size_t bytes = upb_vencode64(val, buf);
uint64_t ret = 0;
- assert(bytes <= 5);
+ UPB_ASSERT(bytes <= 5);
memcpy(&ret, buf, bytes);
- assert(ret <= 0xffffffffffU);
+ UPB_ASSERT(ret <= 0xffffffffffU);
return ret;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback