summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-12 12:40:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-12 12:40:16 (GMT)
commitce76b674fd91d9bfdb746e69f679903816f5bc7e (patch)
treef667fb1f4c14f84add89f381a3a9b0f82a69a912 /win/tclWinFile.c
parent23bb878de928709dcfdd514fe4eb3f67478c9614 (diff)
parente7a7d7dbfd368130d545e4174b37d347e3d77dd5 (diff)
downloadtcl-ce76b674fd91d9bfdb746e69f679903816f5bc7e.zip
tcl-ce76b674fd91d9bfdb746e69f679903816f5bc7e.tar.gz
tcl-ce76b674fd91d9bfdb746e69f679903816f5bc7e.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tclWinFile.c')
-rw-r--r--win/tclWinFile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 331d65a..6e7b4c2 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -1588,9 +1588,9 @@ NativeAccess(
{
SECURITY_DESCRIPTOR *sdPtr = NULL;
unsigned long size;
- SID *pSid = 0;
+ PSID pSid = 0;
BOOL SidDefaulted;
- SID_IDENTIFIER_AUTHORITY samba_unmapped = { 0, 0, 0, 0, 0, 22 };
+ SID_IDENTIFIER_AUTHORITY samba_unmapped = {{0, 0, 0, 0, 0, 22}};
GENERIC_MAPPING genMap;
HANDLE hToken = NULL;
DWORD desiredAccess = 0, grantedAccess = 0;