mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-03 11:12:30 +08:00
More CodeQL fixes
This commit is contained in:
@@ -806,7 +806,7 @@ func (f *Function) SetRegisterTo(self Register, val any) {
|
||||
}
|
||||
|
||||
func (r Register) ARMId() uint32 {
|
||||
num, err := strconv.Atoi(r.Name[1:])
|
||||
num, err := strconv.ParseUint(r.Name[1:], 10, 32)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user