Add explicit long type for dash dwonload length

This commit is contained in:
Kelvin
2025-08-12 17:05:54 +02:00
parent 6cf47d592a
commit dc76934d0e
@@ -719,7 +719,7 @@ class VideoDownload {
Logger.i(TAG, "Download $name Dash, CueCount: " + foundCues.count().toString());
var written = 0;
var written: Long = 0;
var indexCounter = 0;
onProgress(foundCues.count().toLong(), 0, 0);
for(cue in foundCues) {
@@ -744,7 +744,7 @@ class VideoDownload {
indexCounter++;
}
sourceLength = written.toLong();
sourceLength = written;
Logger.i(TAG, "$name downloadSource Finished");
}