From 7e76098c670425363df3a330c329043dd5296c08 Mon Sep 17 00:00:00 2001 From: malta895 Date: Thu, 9 Nov 2023 22:40:11 +0100 Subject: [PATCH] fix bad change --- src/runtime/cgocall.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/cgocall.go b/src/runtime/cgocall.go index 00e5a9cf4278d..f2dd98702d18b 100644 --- a/src/runtime/cgocall.go +++ b/src/runtime/cgocall.go @@ -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] }