diff --git a/include/rapidjson/reader.h b/include/rapidjson/reader.h index 056da94..87d8afd 100644 --- a/include/rapidjson/reader.h +++ b/include/rapidjson/reader.h @@ -1299,7 +1299,7 @@ private: } else { StackStream stackStream(stack_); - SizeType numCharsToCopy = s.Length(); + SizeType numCharsToCopy = static_cast(s.Length()); while (numCharsToCopy--) { Transcoder::Transcode(is, stackStream); }