mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
EdidHelper: silence compiler warnings
This commit is contained in:
@@ -73,7 +73,7 @@ bool ffEdidGetHdrCompatible(const uint8_t* edid, uint32_t length)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
i += blkLen + 1;
|
||||
i += (uint8_t) (blkLen + 1);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
@@ -10,6 +10,6 @@ void ffEdidGetVendorAndModel(const uint8_t edid[128], FFstrbuf* result);
|
||||
bool ffEdidGetName(const uint8_t edid[128], FFstrbuf* name);
|
||||
void ffEdidGetPhysicalResolution(const uint8_t edid[128], uint32_t* width, uint32_t* height);
|
||||
void ffEdidGetPhysicalSize(const uint8_t edid[128], uint32_t* width, uint32_t* height); // in mm
|
||||
bool ffEdidGetHdrCompatible(const uint8_t edid[128], uint32_t length);
|
||||
bool ffEdidGetHdrCompatible(const uint8_t* edid, uint32_t length);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user