aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-12-14 02:52:05 +0100
committerPřemysl Janouch <p@janouch.name>2018-12-14 02:52:05 +0100
commitbe8480f8afb50cd9609202bcb977238c7288ea32 (patch)
treec242e4f8e27d7311fce57b9962e85e74e847ac57
parentf9f3171c02b0f9e1c53a62a9171046e502322d33 (diff)
downloadpdf-simple-sign-be8480f8afb50cd9609202bcb977238c7288ea32.tar.gz
pdf-simple-sign-be8480f8afb50cd9609202bcb977238c7288ea32.tar.xz
pdf-simple-sign-be8480f8afb50cd9609202bcb977238c7288ea32.zip
Consistency
-rw-r--r--pdf/pdf.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/pdf.go b/pdf/pdf.go
index 8881e41..16ea64a 100644
--- a/pdf/pdf.go
+++ b/pdf/pdf.go
@@ -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 {