Various fixes for live streams.
This commit is contained in:
parent
cc4539c4da
commit
142ef73f6c
3 changed files with 69 additions and 51 deletions
|
@ -86,7 +86,7 @@ namespace Controller {
|
|||
configLock.wait();
|
||||
//write config
|
||||
std::string temp = writeConf.toPacked();
|
||||
memcpy(mistConfOut.mapped, temp.data(), std::min(temp.size(), (unsigned long)mistConfOut.len));
|
||||
memcpy(mistConfOut.mapped, temp.data(), std::min(temp.size(), (size_t)mistConfOut.len));
|
||||
//unlock semaphore
|
||||
configLock.post();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue