Skip to content

Commit

Permalink
fixup! handler: Fix panic on GOARCH=386
Browse files Browse the repository at this point in the history
  • Loading branch information
Acconut committed Dec 14, 2023
1 parent 7f7d9b0 commit 8c3700e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/handler/body_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
// the error but this can instead be done in the handler.
// In addition, the bodyReader keeps track of how many bytes were read.
type bodyReader struct {
// bytesCounter is the first field to ensure that its properly aligned,
// bytesCounter is the first field to ensure that it's properly aligned,
// otherwise we run into alignment issues on some 32-bit builds.
// See https://github.com/tus/tusd/issues/1047
// See https://pkg.go.dev/sync/atomic#pkg-note-BUG
Expand Down

0 comments on commit 8c3700e

Please sign in to comment.