From d3098412ed7103b5b3be3999530baabf82bef6b6 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 27 Jun 2021 00:59:29 +0200 Subject: [PATCH] Clang-tidy: readability-non-const-parameter --- Source/encrypt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/encrypt.cpp b/Source/encrypt.cpp index 1bec47c2d..cce4cc4e0 100644 --- a/Source/encrypt.cpp +++ b/Source/encrypt.cpp @@ -69,7 +69,7 @@ void InitHash() } } -static unsigned int PkwareBufferRead(char *buf, unsigned int *size, void *param) +static unsigned int PkwareBufferRead(char *buf, unsigned int *size, void *param) // NOLINT(readability-non-const-parameter) { TDataInfo *pInfo = (TDataInfo *)param; @@ -86,7 +86,7 @@ static unsigned int PkwareBufferRead(char *buf, unsigned int *size, void *param) return sSize; } -static void PkwareBufferWrite(char *buf, unsigned int *size, void *param) +static void PkwareBufferWrite(char *buf, unsigned int *size, void *param) // NOLINT(readability-non-const-parameter) { TDataInfo *pInfo = (TDataInfo *)param;