Fixed data type, eliminate warning.
This commit is contained in:
parent
47feecf8d5
commit
f143fcc298
@ -271,11 +271,13 @@ int MultiByteToWideChar(UINT CodePage, DWORD dwFlags, LPCSTR lpMultiByteStr,
|
||||
int WideCharToMultiByte(UINT CodePage, DWORD dwFlags, LPCWSTR lpWideCharStr, int cchWideChar,
|
||||
LPSTR lpMultiByteStr, int cbMultiByte, LPCSTR lpDefaultChar, LPBOOL lpUsedDefaultChar)
|
||||
{
|
||||
BYTE* targetStart;
|
||||
#if !defined(WITH_ICU)
|
||||
int length;
|
||||
const WCHAR* sourceStart;
|
||||
ConversionResult result;
|
||||
BYTE* targetStart;
|
||||
#else
|
||||
char* targetStart;
|
||||
#endif
|
||||
|
||||
/* If cchWideChar is 0, the function fails */
|
||||
|
Loading…
x
Reference in New Issue
Block a user