pkg,service: remove unnecessary convertions (#3564)

This commit is contained in:
Oleksandr Redko
2023-11-14 17:36:55 +02:00
committed by GitHub
parent e6fdc1052a
commit 938cb6e9d8
31 changed files with 95 additions and 95 deletions

View File

@ -251,7 +251,7 @@ func (it *stackIterator) Next() bool {
it.regs = *regs
it.top = false
if it.g != nil && it.g.ID != 0 {
it.systemstack = !(uint64(it.regs.SP()) >= it.g.stack.lo && uint64(it.regs.SP()) < it.g.stack.hi)
it.systemstack = !(it.regs.SP() >= it.g.stack.lo && it.regs.SP() < it.g.stack.hi)
}
logflags.StackLogger().Debugf("sigtramp context read")
return true