From 767519c4def1ae2c491204a5f1a0f3904dbd04cb Mon Sep 17 00:00:00 2001 From: 0xEAB Date: Sun, 15 May 2022 02:39:52 +0200 Subject: [PATCH] convert to uid_t/gid_t --- cgi.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgi.d b/cgi.d index 4178a30..000b4a4 100644 --- a/cgi.d +++ b/cgi.d @@ -3510,11 +3510,11 @@ struct RequestServer { foundHost = false; } if(foundUid) { - privilegesDropToUid = to!int(arg); + privilegesDropToUid = to!uid_t(arg); foundUid = false; } if(foundGid) { - privilegesDropToGid = to!int(arg); + privilegesDropToGid = to!gid_t(arg); foundGid = false; } if(arg == "--listening-host" || arg == "-h" || arg == "/listening-host")