mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-06-14 21:01:39 -05:00
Fix warnings
This commit is contained in:
parent
1516b9a939
commit
a4f66dbbcd
|
|
@ -11,7 +11,7 @@ bool MacroActionSequence::_registered = MacroActionFactory::Register(
|
|||
|
||||
int getNextUnpausedMacroIdx(std::vector<MacroRef> ¯os, int startIdx)
|
||||
{
|
||||
for (; macros.size() > startIdx; ++startIdx) {
|
||||
for (; (int)macros.size() > startIdx; ++startIdx) {
|
||||
if (!macros[startIdx]->Paused()) {
|
||||
return startIdx;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ SceneItemSelection::GetSceneItems(SceneSelection &sceneSelection)
|
|||
// As this might be confusing reverse that order internally
|
||||
int idx = count - 1 - _idx;
|
||||
|
||||
if (idx >= 0 && idx < items.size()) {
|
||||
if (idx >= 0 && idx < (int)items.size()) {
|
||||
obs_sceneitem_addref(items[idx]);
|
||||
ret.emplace_back(items[idx]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user