summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-12 12:38:09 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-12 12:38:09 (GMT)
commitd61767f9a7d9b5fee5a3e2f460ba5239180f6e8e (patch)
treef4b26a2de6219b95dcc5271240b8c07020228763
parent06dc5b2c67ad5bee2a05e0cd2b7b508d956cc39a (diff)
downloadtcl-d61767f9a7d9b5fee5a3e2f460ba5239180f6e8e.zip
tcl-d61767f9a7d9b5fee5a3e2f460ba5239180f6e8e.tar.gz
tcl-d61767f9a7d9b5fee5a3e2f460ba5239180f6e8e.tar.bz2
[Bug 3388350] mingw64 compiler warnings
-rw-r--r--ChangeLog4
-rw-r--r--win/tclWinFile.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e3a0fa1..b9b2603 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-03-12 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * win/tclWinFile.c: [Bug 3388350] mingw64 compiler warnings
+
2012-03-07 Andreas Kupries <andreask@activestate.com>
* library/http/http.tcl: [Bug 3498327]: Generate upper-case
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index f145e23..4ed5a3d 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -1389,9 +1389,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;