mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-03 22:25:57 +00:00
More CodeQL fixes
This commit is contained in:
parent
adfcffa5d7
commit
237bb35ee9
6 changed files with 25 additions and 14 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue