From c39f3713720fff3aca1b0d9ba80859f212b1ed37 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Sun, 10 Apr 2016 14:24:39 +0100 Subject: [PATCH] Specify integer type for access rights. Fixes a warning from MinGW GCC. --- windows/winsecur.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/winsecur.c b/windows/winsecur.c index 7d49aaeb..8b3c7f16 100644 --- a/windows/winsecur.c +++ b/windows/winsecur.c @@ -231,7 +231,7 @@ int setprocessacl(char *error) int ret=FALSE; PACL acl = NULL; - static const nastyace=WRITE_DAC | WRITE_OWNER | + static const DWORD nastyace=WRITE_DAC | WRITE_OWNER | PROCESS_CREATE_PROCESS | PROCESS_CREATE_THREAD | PROCESS_DUP_HANDLE | PROCESS_SET_QUOTA | PROCESS_SET_INFORMATION |