summaryrefslogtreecommitdiff
path: root/upb_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'upb_parse.c')
-rw-r--r--upb_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/upb_parse.c b/upb_parse.c
index 8b86418..f44a847 100644
--- a/upb_parse.c
+++ b/upb_parse.c
@@ -100,8 +100,8 @@ static upb_status_t get_f_uint64_t(void *restrict *buf, void *end,
*buf = uint64_end;
#else
uint32_t lo32, hi32;
- get_f_uint32_t(buf, &lo32);
- get_f_uint32_t(buf, &hi32);
+ get_f_uint32_t(buf, &lo32, end);
+ get_f_uint32_t(buf, &hi32, end);
*val = lo32 | ((uint64_t)hi32 << 32);
#endif
return UPB_STATUS_OK;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback