From c72392266953f17475e504214d1f93074220e592 Mon Sep 17 00:00:00 2001 From: Kory Draughn Date: Thu, 14 Nov 2024 20:55:39 -0500 Subject: [PATCH] squash w/ startup/shutdown. Use static_cast in execl call - rsPamAuthRequest.cpp. --- server/api/src/rsPamAuthRequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/src/rsPamAuthRequest.cpp b/server/api/src/rsPamAuthRequest.cpp index 85621c5119..296b41bcbd 100644 --- a/server/api/src/rsPamAuthRequest.cpp +++ b/server/api/src/rsPamAuthRequest.cpp @@ -112,7 +112,7 @@ runPamAuthCheck( char *username, char *password ) { } close( p2cp[1] ); const auto binary = irods::get_irods_sbin_directory() / "irodsPamAuthCheck"; - i = execl(binary.c_str(), binary.c_str(), username, nullptr); // NOLINT(cppcoreguidelines-pro-type-vararg) + i = execl(binary.c_str(), binary.c_str(), username, static_cast(nullptr)); // NOLINT(cppcoreguidelines-pro-type-vararg) perror( "execl" ); printf( "execl failed %d\n", i ); }