mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
fix compiler bug warning by casting to void*
svn path=/trunk/; revision=5313
This commit is contained in:
@@ -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--;
|
||||
|
||||
Reference in New Issue
Block a user