mirror of
https://github.com/reactos/reactos.git
synced 2024-08-12 14:16:30 +00:00
Fix lock handle typecasts.
svn path=/trunk/; revision=36540
This commit is contained in:
parent
a3767e4fc3
commit
e7b8601c22
|
@ -728,7 +728,7 @@ DWORD RLockServiceDatabase(
|
|||
// return ScmLockDatabase(0, hMgr->0xC, hLock);
|
||||
|
||||
/* FIXME: Lock the database */
|
||||
*lpLock = (void *)0x12345678; /* Dummy! */
|
||||
*lpLock = (SC_RPC_LOCK)0x12345678; /* Dummy! */
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
|
|
@ -2408,7 +2408,7 @@ UnlockServiceDatabase(SC_LOCK ScLock)
|
|||
{
|
||||
/* Call to services.exe using RPC */
|
||||
dwError = RUnlockServiceDatabase(BindingHandle,
|
||||
(SC_RPC_LOCK)ScLock);
|
||||
(LPSC_RPC_LOCK)&ScLock);
|
||||
}
|
||||
_SEH_HANDLE
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue