summaryrefslogtreecommitdiff
path: root/src/PassivGrab.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2022-06-17 20:44:12 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2022-06-18 06:36:49 -0400
commit806aefc8c6175b6252a300905a327e9d60939af7 (patch)
treef6413008b2fc8c274598c89e70faf147c45b0d4d /src/PassivGrab.c
parenta80c543bb9955199619a2cb6280b89a879fd8811 (diff)
cppcheck fixes (const, null dereferencing, uninitialized, scope)
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/PassivGrab.c')
-rw-r--r--src/PassivGrab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PassivGrab.c b/src/PassivGrab.c
index 672c1ef..fb4800f 100644
--- a/src/PassivGrab.c
+++ b/src/PassivGrab.c
@@ -121,7 +121,7 @@ DeleteDetailFromMask(Mask **ppDetailMask, unsigned short detail)
*/
static Mask *
-CopyDetailMask(Mask *pOriginalDetailMask)
+CopyDetailMask(const Mask *pOriginalDetailMask)
{
Mask *pTempMask;
int i;