EdidHelper: silence compiler warnings

This commit is contained in:
李通洲
2023-08-14 20:26:08 +08:00
parent ee4bc2302a
commit 3ff3feb0e1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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