Skip to content

Commit

Permalink
fix builds on arm/v7 (#15699)
Browse files Browse the repository at this point in the history
  • Loading branch information
dprotaso authored Jan 16, 2025
1 parent bee28f3 commit 5ede174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gc/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func parseDisabledOrInt64(val string, toSet *int64) error {
return err
}
if parsed > math.MaxInt64 {
return fmt.Errorf("value should be lower than %v", math.MaxInt64)
return fmt.Errorf("value should be lower than %v", int64(math.MaxInt64))
}
*toSet = int64(parsed)
}
Expand Down

0 comments on commit 5ede174

Please sign in to comment.