diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | src/upb_parse.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -13,6 +13,9 @@ all: $(ALL) clean: rm -f $(ALL) benchmark/google_messages.proto.pb benchmark/google_messages.pb.* +test: tests/tests + ./tests/tests + src/libupb.a: $(OBJ) ar rcs src/libupb.a $(OBJ) tests/test_table: src/libupb.a diff --git a/src/upb_parse.c b/src/upb_parse.c index 1411bbd..4f22e4a 100644 --- a/src/upb_parse.c +++ b/src/upb_parse.c @@ -38,7 +38,7 @@ struct upb_type_info upb_type_info[] = { upb_status_t upb_get_v_uint64_t_full(uint8_t *buf, uint8_t *end, uint64_t *val, uint8_t **outbuf) { - uint8_t *const *maxend = buf + 10; + uint8_t *const maxend = buf + 10; uint8_t last = 0x80; *val = 0; int bitpos; |