Skip to content

Commit

Permalink
🔨 fixed a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Jun 12, 2017
1 parent afb959a commit 88dc7c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json.hpp
Expand Up @@ -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();
}
Expand Down

0 comments on commit 88dc7c1

Please sign in to comment.