Skip to content

Commit

Permalink
Merge pull request #3426 from bk2204/large-offsets
Browse files Browse the repository at this point in the history
Ensure 32-bit Git LFS binaries can handle files larger than 4 GiB
  • Loading branch information
bk2204 committed Dec 19, 2018
2 parents 49ad025 + e57b76a commit 1286ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lfs/pointer.go
Expand Up @@ -164,7 +164,7 @@ func decodeKV(data []byte) (*Pointer, error) {
}

value, ok = kvps["size"]
size, err := strconv.ParseInt(value, 10, 0)
size, err := strconv.ParseInt(value, 10, 64)
if err != nil || size < 0 {
return nil, fmt.Errorf("Invalid size: %q", value)
}
Expand Down

0 comments on commit 1286ac1

Please sign in to comment.