mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
RequestHandler: Fix IsValid() input parameter
This commit is contained in:
parent
4a193d44a1
commit
2e8622e8d7
@ -77,7 +77,7 @@ namespace RequestBatchExecutionType {
|
||||
Parallel = 2,
|
||||
};
|
||||
|
||||
inline bool IsValid(uint8_t executionType)
|
||||
inline bool IsValid(int executionType)
|
||||
{
|
||||
return executionType >= None && executionType <= Parallel;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user