diff options
Diffstat (limited to 'cppe/test/IceE/custom/StringConverterI.cpp')
-rw-r--r-- | cppe/test/IceE/custom/StringConverterI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppe/test/IceE/custom/StringConverterI.cpp b/cppe/test/IceE/custom/StringConverterI.cpp index 52357b5d9c8..e606044ed70 100644 --- a/cppe/test/IceE/custom/StringConverterI.cpp +++ b/cppe/test/IceE/custom/StringConverterI.cpp @@ -34,7 +34,7 @@ Test::StringConverterI::toUTF8(const char* sourceStart, const char* sourceEnd, I void Test::StringConverterI::fromUTF8(const Ice::Byte* sourceStart, const Ice::Byte* sourceEnd, - string& target) const + string& target) const { size_t size = static_cast<size_t>(sourceEnd - sourceStart); target.resize(size); @@ -67,7 +67,7 @@ Test::WstringConverterI::toUTF8(const wchar_t* sourceStart, const wchar_t* sourc void Test::WstringConverterI::fromUTF8(const Ice::Byte* sourceStart, const Ice::Byte* sourceEnd, - wstring& target) const + wstring& target) const { size_t size = static_cast<size_t>(sourceEnd - sourceStart); string s; |