Commit 42e897f2 authored by Mikhail Maroukhine's avatar Mikhail Maroukhine Committed by Alexandre Julliard

imm32: Fix compiler warnings with flag -Wcast-qual.

parent 1d9e3217
...@@ -1843,10 +1843,10 @@ HKL WINAPI ImmInstallIMEW( ...@@ -1843,10 +1843,10 @@ HKL WINAPI ImmInstallIMEW(
if (rc == ERROR_SUCCESS) if (rc == ERROR_SUCCESS)
{ {
rc = RegSetValueExW(hkey, szImeFileW, 0, REG_SZ, (LPBYTE)lpszIMEFileName, rc = RegSetValueExW(hkey, szImeFileW, 0, REG_SZ, (const BYTE*)lpszIMEFileName,
(lstrlenW(lpszIMEFileName) + 1) * sizeof(WCHAR)); (lstrlenW(lpszIMEFileName) + 1) * sizeof(WCHAR));
if (rc == ERROR_SUCCESS) if (rc == ERROR_SUCCESS)
rc = RegSetValueExW(hkey, szLayoutTextW, 0, REG_SZ, (LPBYTE)lpszLayoutText, rc = RegSetValueExW(hkey, szLayoutTextW, 0, REG_SZ, (const BYTE*)lpszLayoutText,
(lstrlenW(lpszLayoutText) + 1) * sizeof(WCHAR)); (lstrlenW(lpszLayoutText) + 1) * sizeof(WCHAR));
RegCloseKey(hkey); RegCloseKey(hkey);
return hkl; return hkl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment