size_t != uint64_t

Change-Id: Idf7137a7e385dec6600fe73be5d978af2fde76f0
This commit is contained in:
Alex Kordic 2023-01-26 19:35:43 +01:00 committed by Thulinma
parent f4dbea4626
commit 39af304e0c

View file

@ -1652,7 +1652,7 @@ namespace Mist{
// If we are appending to an existing playlist, we need to recover the playlistBuffer and reopen the playlist // If we are appending to an existing playlist, we need to recover the playlistBuffer and reopen the playlist
HTTP::URIReader inFile(playlistLocationString); HTTP::URIReader inFile(playlistLocationString);
char *newBuffer; char *newBuffer;
uint64_t bytesRead; size_t bytesRead;
inFile.readAll(newBuffer, bytesRead); inFile.readAll(newBuffer, bytesRead);
playlistBuffer = std::string(newBuffer, bytesRead) + playlistBuffer; playlistBuffer = std::string(newBuffer, bytesRead) + playlistBuffer;
// Reinit the playlist with the new targetDuration // Reinit the playlist with the new targetDuration