Skip to content

Commit

Permalink
github compile rrror
Browse files Browse the repository at this point in the history
  • Loading branch information
toshski committed Dec 19, 2023
1 parent 21cf9a8 commit f9e8689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/common/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func getFrame(skipFrames int) runtime.Frame {
}

func GetStackTrace() string {
buf := make([]byte, 1<<32)
buf := make([]byte, uint64(1)<<32)
stackSize := runtime.Stack(buf, false)
return string(buf[:stackSize])
}

0 comments on commit f9e8689

Please sign in to comment.