diff options
Diffstat (limited to 'os/win32/util_win32.c')
-rw-r--r-- | os/win32/util_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/win32/util_win32.c b/os/win32/util_win32.c index 3a4038a5d0..86bd419f9f 100644 --- a/os/win32/util_win32.c +++ b/os/win32/util_win32.c @@ -112,7 +112,7 @@ PSECURITY_ATTRIBUTES GetNullACL(void) PSECURITY_ATTRIBUTES sa; sa = (PSECURITY_ATTRIBUTES) LocalAlloc(LPTR, sizeof(SECURITY_ATTRIBUTES)); - sa->nLength = sizeof(sizeof(SECURITY_ATTRIBUTES)); + sa->nLength = sizeof(SECURITY_ATTRIBUTES); pSD = (PSECURITY_DESCRIPTOR) LocalAlloc(LPTR, SECURITY_DESCRIPTOR_MIN_LENGTH); sa->lpSecurityDescriptor = pSD; |