Skip to content

Commit

Permalink
Change lastBytePos type from int to long in MediaHttpDownloader.setCo…
Browse files Browse the repository at this point in the history
…ntentRange
  • Loading branch information
mziccard authored and mattwhisenhunt committed Mar 11, 2018
1 parent 8fd2c7c commit 3196df8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public MediaHttpDownloader setBytesDownloaded(long bytesDownloaded) {
* @param lastBytePos The last byte position in the content range string.
* @since 1.13
*/
public MediaHttpDownloader setContentRange(long firstBytePos, int lastBytePos) {
public MediaHttpDownloader setContentRange(long firstBytePos, long lastBytePos) {
Preconditions.checkArgument(lastBytePos >= firstBytePos);
setBytesDownloaded(firstBytePos);
this.lastBytePos = lastBytePos;
Expand Down

0 comments on commit 3196df8

Please sign in to comment.