mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-07 21:50:08 +01:00
Fixed some rare compilation warnings from old compilers
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user