Author: tkreuzer
Date: Fri Oct 3 12:07:30 2014
New Revision: 64494
URL:
http://svn.reactos.org/svn/reactos?rev=64494&view=rev
Log:
[KMTEST]
Use CONST UCHAR * instead of PCUCHAR (which is only defined in ntdef.h, not in winnt.h)
Modified:
trunk/rostests/kmtests/rtl/RtlMemory.c
Modified: trunk/rostests/kmtests/rtl/RtlMemory.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/kmtests/rtl/RtlMemory.c?r…
==============================================================================
--- trunk/rostests/kmtests/rtl/RtlMemory.c [iso-8859-1] (original)
+++ trunk/rostests/kmtests/rtl/RtlMemory.c [iso-8859-1] Fri Oct 3 12:07:30 2014
@@ -50,7 +50,7 @@
IN const VOID *Buffer,
...)
{
- PCUCHAR OutBuffer = Buffer;
+ CONST UCHAR *OutBuffer = Buffer;
INT Count;
INT Value;
va_list Arguments;
@@ -69,7 +69,7 @@
if (*OutBuffer++ != Value)
{
--OutBuffer;
- trace("CheckBuffer failed at offset %d, value %x, expected
%x\n", OutBuffer - (PCUCHAR)Buffer, *OutBuffer, Value);
+ trace("CheckBuffer failed at offset %d, value %x, expected
%x\n", OutBuffer - (CONST UCHAR*)Buffer, *OutBuffer, Value);
return FALSE;
}
}
@@ -118,7 +118,7 @@
IN const VOID *Buffer,
...)
{
- PCUCHAR OutBuffer = Buffer;
+ CONST UCHAR *OutBuffer = Buffer;
INT Count, Repeat, i;
INT Values[16];
va_list Arguments;
@@ -143,7 +143,7 @@
if (*OutBuffer++ != Values[i])
{
--OutBuffer;
- trace("CheckPattern failed at offset %d, value %x, expected
%x\n", OutBuffer - (PCUCHAR)Buffer, *OutBuffer, Values[i]);
+ trace("CheckPattern failed at offset %d, value %x, expected
%x\n", OutBuffer - (CONST UCHAR*)Buffer, *OutBuffer, Values[i]);
return FALSE;
}
}