Skip to content

Commit

Permalink
Fixes implicit conversion issue (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayganesh authored Apr 24, 2020
1 parent 7b3247d commit 15cb9d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TNLExample/TNLXLotsOfRequestsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ - (void)tnl_requestOperation:(TNLRequestOperation *)op
if (200 == response.info.statusCode) {
const SInt64 contentLength = response.metrics.attemptMetrics.lastObject.metaData.responseContentLength;
if (contentLength) {
_bytesReceived += (op.downloadProgress * (double)contentLength);
_bytesReceived += (uint64_t)(op.downloadProgress * (double)contentLength);
[self _updateProgress];
}
}
Expand Down
Binary file not shown.

0 comments on commit 15cb9d6

Please sign in to comment.