summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-12 12:38:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-12 12:38:58 (GMT)
commit694826cd4f14b00837bf163b8e22f3c01dd2b2db (patch)
tree18ab88becfc510987cf8a5f21621d5e40d6376ac /win/tclWinFile.c
parentef521914f66d6d6f13f5f82e630994ec04bcc004 (diff)
parentd61767f9a7d9b5fee5a3e2f460ba5239180f6e8e (diff)
downloadtcl-694826cd4f14b00837bf163b8e22f3c01dd2b2db.zip
tcl-694826cd4f14b00837bf163b8e22f3c01dd2b2db.tar.gz
tcl-694826cd4f14b00837bf163b8e22f3c01dd2b2db.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 08413d6..f764ad8 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -1597,9 +1597,9 @@ NativeAccess(
if (tclWinProcs->getFileSecurityProc != NULL) {
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;