Skip to content

Commit

Permalink
solve anchore#1459
Browse files Browse the repository at this point in the history
  • Loading branch information
barnuri authored Aug 27, 2023
1 parent 4d84465 commit 4f23d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grype/version/portage_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func comparePortageVersions(a, b string) int {
}
r2 := big.NewInt(0)
if match2[9] != "" {
r1.SetString(match2[9], 10)
r2.SetString(match2[9], 10)
}

return r1.Cmp(r2)
Expand Down

0 comments on commit 4f23d48

Please sign in to comment.