Skip to content

Commit

Permalink
fix bad change
Browse files Browse the repository at this point in the history
  • Loading branch information
malta895 committed Nov 9, 2023
1 parent 4969e81 commit 7e76098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/cgocall.go
Expand Up @@ -266,7 +266,7 @@ func callbackUpdateSystemStack(mp *m, sp uintptr, signal bool) {
// Don't use these bounds if they don't contain SP. Perhaps we
// were called by something not using the standard thread
// stack.
if bounds[0] != 0 && sp > bounds[0] && sp <= bounds[1] {
if bounds[0] != 0 && sp > bounds[0] && sp <= bounds[1] {
g0.stack.lo = bounds[0]
g0.stack.hi = bounds[1]
}
Expand Down

0 comments on commit 7e76098

Please sign in to comment.