Skip to content

Commit

Permalink
Merge pull request #14148 from bayandin/fix-m2-detection
Browse files Browse the repository at this point in the history
CPU: fix M2 family detection
  • Loading branch information
bayandin committed Nov 16, 2022
2 parents af1e1da + f9b4bf9 commit c013762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/hardware/cpu.rb
Expand Up @@ -152,7 +152,7 @@ def sysctl_bool(key)
end

def sysctl_int(key)
sysctl_n(key).to_i
sysctl_n(key).to_i & 0xffffffff
end

def sysctl_n(*keys)
Expand Down

0 comments on commit c013762

Please sign in to comment.