Fixed some rare compilation warnings from old compilers

This commit is contained in:
Linus Dierheimer
2022-01-22 23:01:09 +01:00
parent 4e45a2e3ba
commit 23b71cc907
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ void ffPrintResolution(FFinstance* instance)
for(uint32_t i = 0; i < dsResult->resolutions.length; i++)
{
FFResolutionResult* result = ffListGet(&dsResult->resolutions, i);
uint8_t moduleIndex = dsResult->resolutions.length == 1 ? 0 : (uint8_t) i + 1;
uint8_t moduleIndex = dsResult->resolutions.length == 1 ? 0 : (uint8_t) (i + 1);
if(instance->config.resolutionFormat.length == 0)
{