fix warning in Debug mode

This commit is contained in:
Gwenhael Goavec-Merou
2021-07-14 17:59:02 +02:00
parent be6ed217dd
commit cd64bce4f2
4 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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 */