configBitstreamParser: string::find return size_t not uint32_t

This commit is contained in:
Gwenhael Goavec-Merou
2022-03-20 08:24:49 +01:00
parent 881982102b
commit 74790c40b6
+1 -1
View File
@@ -35,7 +35,7 @@ ConfigBitstreamParser::ConfigBitstreamParser(const string &filename, int mode,
{
(void) mode;
if (!filename.empty()) {
uint32_t offset = filename.find_last_of(".");
size_t offset = filename.find_last_of(".");
FILE *_fd = fopen(filename.c_str(), "rb");
if (!_fd) {