diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-09-08 17:17:28 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-09-08 17:18:11 +0300 |
commit | ccb3040ad4471de0b6b513289994ccc7dd70b333 (patch) | |
tree | 99b9bc4bea5dfcb43e9ef6fbbaf7e4ce1995c6fe /hugolib | |
parent | fe0c270577325dcd08d5e21faa42c5288a205f93 (diff) |
Fix pagination page counter on 32 bit
Updates #2415
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/site.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hugolib/site.go b/hugolib/site.go index 32e19a8b1..8ffe0fad4 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -154,6 +154,8 @@ type targetList struct { } type SiteInfo struct { + // atomic requires 64-bit alignment for struct field access + paginationPageCount uint64 BaseURL template.URL Taxonomies TaxonomyList Authors AuthorList @@ -178,7 +180,6 @@ type SiteInfo struct { BuildDrafts bool canonifyURLs bool preserveTaxonomyNames bool - paginationPageCount uint64 Data *map[string]interface{} owner *HugoSites |