Fix arithmetics on void.

svn path=/trunk/; revision=10642
This commit is contained in:
Mike Nordell 2004-08-21 20:42:10 +00:00
parent 03e25a0998
commit cb6798f145

View file

@ -1,4 +1,4 @@
/* $Id: buildirp.c,v 1.44 2004/08/15 16:39:03 chorns Exp $
/* $Id: buildirp.c,v 1.45 2004/08/21 20:42:10 tamlin Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -258,7 +258,7 @@ IoBuildDeviceIoControlRequest(ULONG IoControlCode,
RtlCopyMemory(Irp->AssociatedIrp.SystemBuffer,
InputBuffer,
InputBufferLength);
RtlZeroMemory(Irp->AssociatedIrp.SystemBuffer + InputBufferLength,
RtlZeroMemory((char*)Irp->AssociatedIrp.SystemBuffer + InputBufferLength,
BufferLength - InputBufferLength);
}
else