oleaut32: Cast-qual warnings fix
Andrew Talbot
Andrew.Talbot at talbotville.com
Thu Sep 21 14:40:43 CDT 2006
Changelog:
oleaut32: Cast-qual warnings fix.
diff -urN a/dlls/oleaut32/olefont.c b/dlls/oleaut32/olefont.c
--- a/dlls/oleaut32/olefont.c 2006-08-11 10:59:33.000000000 +0100
+++ b/dlls/oleaut32/olefont.c 2006-09-21 18:27:46.000000000 +0100
@@ -332,7 +332,7 @@
if (!lpFontDesc) {
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.lpstrName = (WCHAR*)fname;
diff -urN a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
--- a/dlls/oleaut32/typelib.c 2006-09-12 23:59:41.000000000 +0100
+++ b/dlls/oleaut32/typelib.c 2006-09-21 18:40:19.000000000 +0100
@@ -611,14 +611,14 @@
if (RegCreateKeyExW(key, ProxyStubClsidW, 0, NULL, 0,
KEY_WRITE, NULL, &subKey, NULL) == ERROR_SUCCESS) {
RegSetValueExW(subKey, NULL, 0, REG_SZ,
- (BYTE*)PSOA, sizeof PSOA);
+ (const BYTE *)PSOA, sizeof PSOA);
RegCloseKey(subKey);
}
if (RegCreateKeyExW(key, ProxyStubClsid32W, 0, NULL, 0,
KEY_WRITE, NULL, &subKey, NULL) == ERROR_SUCCESS) {
RegSetValueExW(subKey, NULL, 0, REG_SZ,
- (BYTE*)PSOA, sizeof PSOA);
+ (const BYTE *)PSOA, sizeof PSOA);
RegCloseKey(subKey);
}
More information about the wine-patches
mailing list