EdidHelper: silence compiler warnings

This commit is contained in:
李通洲 committed 2023-08-14 20:48:37 +08:00
1 parent ee4bc2302a
commit 3ff3feb0e1
2 files changed
+2 -2

No files matched your search

+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