mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
[ADVAPI32] Send correct type to ElfrChangeNotify()
This fixes the following compiler error: ../dll/win32/advapi32/service/eventlog.c:658:59: error: passing argument 3 of 'ElfrChangeNotify' makes integer from pointer without a cast [-Werror=int-conversion] dll/win32/advapi32/eventlogrpc_c.h:391:20: note: expected 'ULONG {aka long unsigned int}' but argument is of type 'HANDLE {aka void *}'
This commit is contained in:
parent
cb031ac957
commit
10ecbaddd0
|
@ -655,7 +655,7 @@ ElfChangeNotify(IN HANDLE hEventLog,
|
|||
|
||||
RpcTryExcept
|
||||
{
|
||||
Status = ElfrChangeNotify(hEventLog, RpcClientId, (DWORD)hEvent);
|
||||
Status = ElfrChangeNotify(hEventLog, RpcClientId, HandleToUlong(hEvent));
|
||||
}
|
||||
RpcExcept(EXCEPTION_EXECUTE_HANDLER)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue