Browse Source

Added a cast to get rid of a warning.

pull/249/head
triton 12 years ago
parent
commit
b03a73efa8
  1. 2
      include/CppSharp.h

2
include/CppSharp.h

@ -242,7 +242,7 @@ namespace msclr {
} }
std::streamsize xsputn(const char *_Ptr, std::streamsize _Count) std::streamsize xsputn(const char *_Ptr, std::streamsize _Count)
{ {
auto s = gcnew System::String(_Ptr, 0, _Count, System::Text::Encoding::UTF8); auto s = gcnew System::String(_Ptr, 0, (int)_Count, System::Text::Encoding::UTF8);
m_tw->Write(s); m_tw->Write(s);
return _Count; return _Count;
} }

Loading…
Cancel
Save