oleaut32: Cast-qual warnings fix.
This commit is contained in:
parent
d456e9f49f
commit
0e9c97eba3
|
@ -332,10 +332,10 @@ HRESULT WINAPI OleCreateFontIndirect(
|
||||||
if (!lpFontDesc) {
|
if (!lpFontDesc) {
|
||||||
FONTDESC fd;
|
FONTDESC fd;
|
||||||
|
|
||||||
static const WCHAR fname[] = { 'S','y','s','t','e','m',0 };
|
static WCHAR fname[] = { 'S','y','s','t','e','m',0 };
|
||||||
|
|
||||||
fd.cbSizeofstruct = sizeof(fd);
|
fd.cbSizeofstruct = sizeof(fd);
|
||||||
fd.lpstrName = (WCHAR*)fname;
|
fd.lpstrName = fname;
|
||||||
fd.cySize.s.Lo = 80000;
|
fd.cySize.s.Lo = 80000;
|
||||||
fd.cySize.s.Hi = 0;
|
fd.cySize.s.Hi = 0;
|
||||||
fd.sWeight = 0;
|
fd.sWeight = 0;
|
||||||
|
|
|
@ -611,14 +611,14 @@ HRESULT WINAPI RegisterTypeLib(
|
||||||
if (RegCreateKeyExW(key, ProxyStubClsidW, 0, NULL, 0,
|
if (RegCreateKeyExW(key, ProxyStubClsidW, 0, NULL, 0,
|
||||||
KEY_WRITE, NULL, &subKey, NULL) == ERROR_SUCCESS) {
|
KEY_WRITE, NULL, &subKey, NULL) == ERROR_SUCCESS) {
|
||||||
RegSetValueExW(subKey, NULL, 0, REG_SZ,
|
RegSetValueExW(subKey, NULL, 0, REG_SZ,
|
||||||
(BYTE*)PSOA, sizeof PSOA);
|
(const BYTE *)PSOA, sizeof PSOA);
|
||||||
RegCloseKey(subKey);
|
RegCloseKey(subKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (RegCreateKeyExW(key, ProxyStubClsid32W, 0, NULL, 0,
|
if (RegCreateKeyExW(key, ProxyStubClsid32W, 0, NULL, 0,
|
||||||
KEY_WRITE, NULL, &subKey, NULL) == ERROR_SUCCESS) {
|
KEY_WRITE, NULL, &subKey, NULL) == ERROR_SUCCESS) {
|
||||||
RegSetValueExW(subKey, NULL, 0, REG_SZ,
|
RegSetValueExW(subKey, NULL, 0, REG_SZ,
|
||||||
(BYTE*)PSOA, sizeof PSOA);
|
(const BYTE *)PSOA, sizeof PSOA);
|
||||||
RegCloseKey(subKey);
|
RegCloseKey(subKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue