We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ab62f4 commit 1962dfaCopy full SHA for 1962dfa
NativeCore/Windows/ReClassNET_Plugin.hpp
@@ -272,5 +272,5 @@ inline void MultiByteToUnicode(const char* src, RC_UnicodeChar* dst, int size)
272
auto temp = std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t>{}.from_bytes(src);
273
#endif
274
275
- std::memcpy(dst, temp.c_str(), std::min<int>(temp.length(), size) * sizeof(char16_t));
+ std::memcpy(dst, temp.c_str(), std::min<int>((int)temp.length(), size) * sizeof(char16_t));
276
}
0 commit comments