mirror of
https://github.com/reactos/reactos.git
synced 2024-10-23 14:36:11 +00:00
fix compiler bug warning by casting to void*
svn path=/trunk/; revision=5313
This commit is contained in:
parent
8d0d5db7c6
commit
ef3c8f80d8
|
@ -1,4 +1,4 @@
|
|||
/* $Id: console.c,v 1.60 2003/07/10 18:50:51 chorns Exp $
|
||||
/* $Id: console.c,v 1.61 2003/07/29 16:42:35 royce Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -2525,7 +2525,7 @@ RemoveConsoleCtrlHandler(PHANDLER_ROUTINE HandlerRoutine)
|
|||
{
|
||||
for (i = 0; i < NrCtrlHandlers; i++)
|
||||
{
|
||||
if ((PHANDLER_ROUTINE) CtrlHandlers[i] == HandlerRoutine)
|
||||
if ( ((void*)(CtrlHandlers[i])) == (void*)HandlerRoutine)
|
||||
{
|
||||
CtrlHandlers[i] = CtrlHandlers[NrCtrlHandlers - 1];
|
||||
NrCtrlHandlers--;
|
||||
|
|
Loading…
Reference in a new issue