Commit 9cf1579a authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

ntdll/tests: Cast-qual warning fix.

parent aa25e293
...@@ -583,7 +583,7 @@ VOID WINAPI RtlFillMemoryUlong(ULONG* lpDest, ULONG ulCount, ULONG ulValue) ...@@ -583,7 +583,7 @@ VOID WINAPI RtlFillMemoryUlong(ULONG* lpDest, ULONG ulCount, ULONG ulValue)
* RETURNS * RETURNS
* The cumulative CRC32 of dwInitial and iLen bytes of the pData block. * The cumulative CRC32 of dwInitial and iLen bytes of the pData block.
*/ */
DWORD WINAPI RtlComputeCrc32(DWORD dwInitial, PBYTE pData, INT iLen) DWORD WINAPI RtlComputeCrc32(DWORD dwInitial, const BYTE *pData, INT iLen)
{ {
DWORD crc = ~dwInitial; DWORD crc = ~dwInitial;
......
...@@ -844,7 +844,7 @@ static void test_RtlComputeCrc32(void) ...@@ -844,7 +844,7 @@ static void test_RtlComputeCrc32(void)
if (!pRtlComputeCrc32) if (!pRtlComputeCrc32)
return; return;
crc = pRtlComputeCrc32(crc, (LPBYTE)src, LEN); crc = pRtlComputeCrc32(crc, (const BYTE *)src, LEN);
ok(crc == 0x40861dc2,"Expected 0x40861dc2, got %8x\n", crc); ok(crc == 0x40861dc2,"Expected 0x40861dc2, got %8x\n", crc);
} }
......
...@@ -1986,7 +1986,7 @@ PDEBUG_BUFFER WINAPI RtlCreateQueryDebugBuffer(ULONG,BOOLEAN); ...@@ -1986,7 +1986,7 @@ PDEBUG_BUFFER WINAPI RtlCreateQueryDebugBuffer(ULONG,BOOLEAN);
ULONG WINAPI RtlCompactHeap(HANDLE,ULONG); ULONG WINAPI RtlCompactHeap(HANDLE,ULONG);
LONG WINAPI RtlCompareString(const STRING*,const STRING*,BOOLEAN); LONG WINAPI RtlCompareString(const STRING*,const STRING*,BOOLEAN);
LONG WINAPI RtlCompareUnicodeString(const UNICODE_STRING*,const UNICODE_STRING*,BOOLEAN); LONG WINAPI RtlCompareUnicodeString(const UNICODE_STRING*,const UNICODE_STRING*,BOOLEAN);
DWORD WINAPI RtlComputeCrc32(DWORD,PBYTE,INT); DWORD WINAPI RtlComputeCrc32(DWORD,const BYTE*,INT);
NTSTATUS WINAPI RtlConvertSidToUnicodeString(PUNICODE_STRING,PSID,BOOLEAN); NTSTATUS WINAPI RtlConvertSidToUnicodeString(PUNICODE_STRING,PSID,BOOLEAN);
LONGLONG WINAPI RtlConvertLongToLargeInteger(LONG); LONGLONG WINAPI RtlConvertLongToLargeInteger(LONG);
ULONGLONG WINAPI RtlConvertUlongToLargeInteger(ULONG); ULONGLONG WINAPI RtlConvertUlongToLargeInteger(ULONG);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment