aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/runtime/arch_386.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/arch_386.go')
-rw-r--r--src/runtime/arch_386.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/arch_386.go b/src/runtime/arch_386.go
index 2dd7c9fff..9f1a99c05 100644
--- a/src/runtime/arch_386.go
+++ b/src/runtime/arch_386.go
@@ -9,7 +9,7 @@ const TargetBits = 32
// Align on word boundary.
func align(ptr uintptr) uintptr {
- return (ptr + 3) &^ 3
+ return (ptr + 15) &^ 15
}
func getCurrentStackPointer() uintptr {