From 539e559e65cd8f227c45e4b046ac41c0edcf6c32 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 31 Dec 2022 13:55:11 -0800 Subject: Fixes for some security complaints. None of these changes are actual security bugs, but GitHub's scanner reports false positives at Critical severity for them. (There are a number of complaints from that scanner, many of which we do not necessarily agree with.) --- tests/synch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/synch.c') diff --git a/tests/synch.c b/tests/synch.c index 84da5568..9174385d 100644 --- a/tests/synch.c +++ b/tests/synch.c @@ -1,5 +1,5 @@ // -// Copyright 2018 Staysail Systems, Inc. +// Copyright 2022 Staysail Systems, Inc. // Copyright 2018 Capitar IT Group BV // // This software is supplied under the terms of the MIT License, a @@ -22,9 +22,9 @@ struct notifyarg { }; void -notifyafter(void *arg) +notifyafter(void *a) { - struct notifyarg *na = arg; + struct notifyarg *na = a; nng_msleep(na->when); nng_mtx_lock(na->mx); -- cgit v1.2.3-70-g09d2