Minor bugfix and makefile change.

pull/13171/head
Joshua Haberman 16 years ago
parent 7eb16a5550
commit f03c8bd7dd
  1. 3
      Makefile
  2. 2
      src/upb_parse.c

@ -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

@ -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;

Loading…
Cancel
Save