32-bit fixes
This commit is contained in:
parent
dc0ec77f26
commit
e9ea839996
4 changed files with 13 additions and 13 deletions
|
@ -1538,14 +1538,14 @@ namespace Mist{
|
|||
std::string fileName = config->getString("input") + ".dtsh";
|
||||
HIGH_MSG("Loading metadata for stream '%s' from file '%s'", streamName.c_str(), fileName.c_str());
|
||||
char *scanBuf;
|
||||
uint64_t fileSize;
|
||||
size_t fileSize;
|
||||
HTTP::URIReader inFile(fileName);
|
||||
if (!inFile){return false;}
|
||||
inFile.readAll(scanBuf, fileSize);
|
||||
inFile.close();
|
||||
if (!fileSize){return false;}
|
||||
DTSC::Packet pkt(scanBuf, fileSize, true);
|
||||
HIGH_MSG("Retrieved header of %lu bytes", fileSize);
|
||||
HIGH_MSG("Retrieved header of %zu bytes", fileSize);
|
||||
meta.reInit(config->getBool("realtime") ? "" : streamName, pkt.getScan());
|
||||
|
||||
if (meta.version != DTSH_VERSION){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue