Changed type of '\0' literal to wchar_t [MT5]

This commit is contained in:
Tr4Dr
2017-09-17 22:18:21 +02:00
parent 12141775f3
commit e29a11de68
+1 -1
View File
@@ -53,7 +53,7 @@ void convertSystemString(wchar_t* dest, String^ src)
{
pin_ptr<const wchar_t> wch = PtrToStringChars(src);
memcpy(dest, wch, wcslen(wch) * sizeof(wchar_t));
dest[wcslen(wch)] = '\0';
dest[wcslen(wch)] = L'\0';
}
#define _DLLAPI extern "C" __declspec(dllexport)