Skip to content

Commit

Permalink
Merge pull request #39883 from thaJeztah/gofmt_pkg_parsers
Browse files Browse the repository at this point in the history
pkg/parsers/kernel: gofmt hex value (preparation for Go 1.13+)
  • Loading branch information
tiborvass committed Sep 10, 2019
2 parents 15c2571 + 7663aeb commit 086ac1e
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 086ac1e

Please sign in to comment.