Skip to content

Commit 1962dfa

Browse files
committed
Fixed warning.
1 parent 8ab62f4 commit 1962dfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NativeCore/Windows/ReClassNET_Plugin.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,5 +272,5 @@ inline void MultiByteToUnicode(const char* src, RC_UnicodeChar* dst, int size)
272272
auto temp = std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t>{}.from_bytes(src);
273273
#endif
274274

275-
std::memcpy(dst, temp.c_str(), std::min<int>(temp.length(), size) * sizeof(char16_t));
275+
std::memcpy(dst, temp.c_str(), std::min<int>((int)temp.length(), size) * sizeof(char16_t));
276276
}

0 commit comments

Comments
 (0)