Skip to content

Commit

Permalink
pkg/parsers/kernel: gofmt hex value (preparation for Go 1.13+)
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Sep 10, 2019
1 parent 536e26c commit 7663aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/parsers/kernel/kernel_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func GetKernelVersion() (*VersionInfo, error) {
}

KVI.major = int(dwVersion & 0xFF)
KVI.minor = int((dwVersion & 0XFF00) >> 8)
KVI.minor = int((dwVersion & 0xFF00) >> 8)
KVI.build = int((dwVersion & 0xFFFF0000) >> 16)

return KVI, nil
Expand Down

0 comments on commit 7663aeb

Please sign in to comment.