1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-27 00:41:05 +03:00

🔨 fixed a warning

This commit is contained in:
Niels Lohmann
2017-06-12 19:58:44 +02:00
parent afb959a083
commit 88dc7c11fa

View File

@ -8863,7 +8863,7 @@ class basic_json
// may not have processed all of them. Therefore, we need to
// "rewind" the stream after the last processed char.
is.seekg(start_position);
is.ignore(processed_chars);
is.ignore(static_cast<std::streamsize>(processed_chars));
// clear stream flags
is.clear();
}