Added missing static_cast
This commit is contained in:
parent
ae785ffb52
commit
b5966c3290
@ -1299,7 +1299,7 @@ private:
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
StackStream<typename TargetEncoding::Ch> stackStream(stack_);
|
StackStream<typename TargetEncoding::Ch> stackStream(stack_);
|
||||||
SizeType numCharsToCopy = s.Length();
|
SizeType numCharsToCopy = static_cast<SizeType>(s.Length());
|
||||||
while (numCharsToCopy--) {
|
while (numCharsToCopy--) {
|
||||||
Transcoder<SourceEncoding, TargetEncoding>::Transcode(is, stackStream);
|
Transcoder<SourceEncoding, TargetEncoding>::Transcode(is, stackStream);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user