configBitstreamParser: string::find return size_t not uint32_t
This commit is contained in:
parent
881982102b
commit
74790c40b6
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue