Module: wine Branch: master Commit: 0490131783475e2575b766a9a76157d9e78406a8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0490131783475e2575b766a9a7...
Author: Mikhail Maroukhine mikolg@yandex.ru Date: Fri Mar 26 21:50:51 2010 +0600
advapi32: Fix compiler warnings with flag -Wcast-qual.
---
dlls/advapi32/service.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/advapi32/service.c b/dlls/advapi32/service.c index 7fea937..cce2af4 100644 --- a/dlls/advapi32/service.c +++ b/dlls/advapi32/service.c @@ -933,8 +933,8 @@ CreateServiceW( SC_HANDLE hSCManager, LPCWSTR lpServiceName, { err = svcctl_CreateServiceW(hSCManager, lpServiceName, lpDisplayName, dwDesiredAccess, dwServiceType, dwStartType, dwErrorControl, - lpBinaryPathName, lpLoadOrderGroup, lpdwTagId, (LPBYTE)lpDependencies, - multisz_cb(lpDependencies), lpServiceStartName, (LPBYTE)lpPassword, passwdlen, + lpBinaryPathName, lpLoadOrderGroup, lpdwTagId, (const BYTE*)lpDependencies, + multisz_cb(lpDependencies), lpServiceStartName, (const BYTE*)lpPassword, passwdlen, (SC_RPC_HANDLE *)&handle); } __EXCEPT(rpc_filter)