[DBGHELP][NDK][RTL] *RtlComputeCrc32(): Add 'const' to 2nd parameter (#6973)

and sync SAL2 annotations.

It didn't always warn in the past, our gutfeeling (we have *not* double-checked that thesis!) is that the warnings might have been triggered when 0.4.15-dev-958-g 237aa3a9c1 was committed
This commit is contained in:
Serge Gautherie 2024-06-04 13:35:57 +02:00 committed by GitHub
parent 1cd08eee52
commit 01fbf25dab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View file

@ -86,9 +86,9 @@ static const ULONG CrcTable[256] =
* @implemented
*/
ULONG NTAPI
RtlComputeCrc32(IN ULONG Initial,
IN PUCHAR Data,
IN ULONG Length)
RtlComputeCrc32(_In_ ULONG Initial,
_In_ const UCHAR *Data,
_In_ ULONG Length)
{
ULONG CrcValue = ~Initial;