mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 01:48:50 +02:00
configBitstreamParser: string::find return size_t not uint32_t
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user