mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 01:48:50 +02:00
fix warning in Debug mode
This commit is contained in:
+1
-1
@@ -185,7 +185,7 @@ int FsParser::parse()
|
||||
/* For configuration data checksum: number of lines can't be higher than
|
||||
* the number indicates in TN653 but may be smaller (seen with the GW1NS-2C).
|
||||
*/
|
||||
if (stoi(_hdr["ConfDataLength"]) < nb_line)
|
||||
if (stoul(_hdr["ConfDataLength"]) < nb_line)
|
||||
nb_line = stoi(_hdr["ConfDataLength"]);
|
||||
|
||||
/* drop now useless header */
|
||||
|
||||
Reference in New Issue
Block a user