🔨 fixed a warning

This commit is contained in:
Niels Lohmann 2017-06-12 19:58:44 +02:00
parent afb959a083
commit 88dc7c11fa
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

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