summaryrefslogtreecommitdiff
path: root/upb_parse.c
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-07-02 23:27:31 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-07-02 23:27:31 -0700
commit485b96466257a972042b49f45cb79bc0d1093748 (patch)
tree8758a19d823ac49d9e2d657eb244af5fa76e6e26 /upb_parse.c
parent2c5c3fdc25c586c1eee987f1c4181b5eee0732ec (diff)
Bugfixes.
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