diff --git a/Makefile b/Makefile index 9189d7cbc54b6ccb5ee8481ee63c2f8c46b9cdf7..458eb46b67f4404df06bd8de46b7a47e1b4011c3 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CFLAGS += -std=c99 -Wall -Werror -Wshadow -DLOG -D_POSIX_C_SOURCE=2 +CFLAGS += -std=c99 -Wall -Werror -DLOG -D_POSIX_C_SOURCE=2 # find our hammer build - adjust this to your needs # i have, for instance, symlinks: diff --git a/pdf.c b/pdf.c index aea09f8601d53ccb315b09074c0218677b91fd6a..93a1efa5cd4dd8596da4e2db2d3a84f0df412ffe 100644 --- a/pdf.c +++ b/pdf.c @@ -4927,7 +4927,7 @@ parse_xrefs(struct Env *aux) for (;;) { //res = h_parse(p_xref, input + offset, sz - offset); - p = h_right(h_seek(offset * 8, SEEK_SET), p_xref); // XXX + HParser *p = h_right(h_seek(offset * 8, SEEK_SET), p_xref); // XXX res = h_parse(p, input, sz); if (res == NULL || res->ast == NULL || H_INDEX_TOKEN(res->ast, 0) == NULL) { log_message(5, "VIOLATION[5]: error parsing xref section at "