diff options
author | Přemysl Janouch <p@janouch.name> | 2018-12-14 02:52:05 +0100 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-12-14 02:52:05 +0100 |
commit | be8480f8afb50cd9609202bcb977238c7288ea32 (patch) | |
tree | c242e4f8e27d7311fce57b9962e85e74e847ac57 | |
parent | f9f3171c02b0f9e1c53a62a9171046e502322d33 (diff) | |
download | pdf-simple-sign-be8480f8afb50cd9609202bcb977238c7288ea32.tar.gz pdf-simple-sign-be8480f8afb50cd9609202bcb977238c7288ea32.tar.xz pdf-simple-sign-be8480f8afb50cd9609202bcb977238c7288ea32.zip |
Consistency
-rw-r--r-- | pdf/pdf.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -691,8 +691,8 @@ func NewUpdater(document []byte) (*Updater, error) { xrefOffset, _ := strconv.ParseInt(string(m[1]), 10, 64) lastXrefOffset := xrefOffset - loadedXrefs := map[int64]struct{}{} - loadedEntries := map[uint]struct{}{} + loadedXrefs := make(map[int64]struct{}) + loadedEntries := make(map[uint]struct{}) var throwawayStack []Object for { |