From: Reinhard Tartler Date: Tue, 16 Jun 2026 05:53:34 -0400 Subject: Fix unaligned atomic on 32-bit platforms Description: Place 64-bit atomic integer fields first in the struct to guarantee 64-bit memory alignment on 32-bit architectures (i386, armhf) and avoid panics. Forwarded: https://github.com/pb33f/libopenapi-validator/pull/289 Last-Update: 2026-06-16 --- parameters/path_parameters_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parameters/path_parameters_test.go b/parameters/path_parameters_test.go index 5972439..901b0a8 100644 --- a/parameters/path_parameters_test.go +++ b/parameters/path_parameters_test.go @@ -2249,10 +2249,10 @@ paths: } type regexCacheWatcher struct { - inner *sync.Map missCount int64 hitCount int64 storeCount int64 + inner *sync.Map } func (c *regexCacheWatcher) Load(key any) (value any, ok bool) {