Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix memory allignment for 32-bit architectures (#668) #269

Merged
merged 1 commit into from Jun 8, 2016

Commits on Jun 8, 2016

  1. fix memory allignment for 32-bit architectures (decred#668)

    having 3 int32s above the uint64s in the struct
    will cause misalignment for some 32-bit architectures.
    see https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    This aligns bytesReceived and bytesSent.
    Tadge Dryja authored and alexlyp committed Jun 8, 2016
    Copy the full SHA
    f617c61 View commit details
    Browse the repository at this point in the history