Andrew Talbot : rpcrt4: Cast-qual warnings fix.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Sep 26 05:30:06 CDT 2006
Module: wine
Branch: master
Commit: 269f77d8722d5cdc4ee32eb748eb29de40a013c5
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=269f77d8722d5cdc4ee32eb748eb29de40a013c5
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Mon Sep 25 21:11:15 2006 +0100
rpcrt4: Cast-qual warnings fix.
---
dlls/rpcrt4/cpsf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/rpcrt4/cpsf.c b/dlls/rpcrt4/cpsf.c
index a10e231..dcf3721 100644
--- a/dlls/rpcrt4/cpsf.c
+++ b/dlls/rpcrt4/cpsf.c
@@ -225,7 +225,7 @@ HRESULT WINAPI NdrDllRegisterProxy(HMODU
if (RegCreateKeyExA(HKEY_CLASSES_ROOT, keyname, 0, NULL, 0,
KEY_WRITE, NULL, &key, NULL) == ERROR_SUCCESS) {
if (name)
- RegSetValueExA(key, NULL, 0, REG_SZ, (LPBYTE)name, strlen(name));
+ RegSetValueExA(key, NULL, 0, REG_SZ, (const BYTE *)name, strlen(name));
if (RegCreateKeyExA(key, "ProxyStubClsid32", 0, NULL, 0,
KEY_WRITE, NULL, &subkey, NULL) == ERROR_SUCCESS) {
snprintf(module, sizeof(module), "{%s}", clsid);
@@ -245,11 +245,11 @@ HRESULT WINAPI NdrDllRegisterProxy(HMODU
TRACE("registering CLSID %s => %s\n", clsid, module);
if (RegCreateKeyExA(HKEY_CLASSES_ROOT, keyname, 0, NULL, 0,
KEY_WRITE, NULL, &key, NULL) == ERROR_SUCCESS) {
- RegSetValueExA(subkey, NULL, 0, REG_SZ, (LPBYTE)"PSFactoryBuffer", strlen("PSFactoryBuffer"));
+ RegSetValueExA(subkey, NULL, 0, REG_SZ, (const BYTE *)"PSFactoryBuffer", strlen("PSFactoryBuffer"));
if (RegCreateKeyExA(key, "InProcServer32", 0, NULL, 0,
KEY_WRITE, NULL, &subkey, NULL) == ERROR_SUCCESS) {
RegSetValueExA(subkey, NULL, 0, REG_SZ, (LPBYTE)module, strlen(module));
- RegSetValueExA(subkey, "ThreadingModel", 0, REG_SZ, (LPBYTE)"Both", strlen("Both"));
+ RegSetValueExA(subkey, "ThreadingModel", 0, REG_SZ, (const BYTE *)"Both", strlen("Both"));
RegCloseKey(subkey);
}
RegCloseKey(key);
More information about the wine-cvs
mailing list