summaryrefslogtreecommitdiffstats
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)
commit2bdb719524ba2e7826cfdf6a82bd80c2bcdd9c75 (patch)
treef667fb1f4c14f84add89f381a3a9b0f82a69a912
parentc93c3a3b39929c9a7f1c816f4dc8a058f9eea85c (diff)
parent694826cd4f14b00837bf163b8e22f3c01dd2b2db (diff)
downloadtcl-2bdb719524ba2e7826cfdf6a82bd80c2bcdd9c75.zip
tcl-2bdb719524ba2e7826cfdf6a82bd80c2bcdd9c75.tar.gz
tcl-2bdb719524ba2e7826cfdf6a82bd80c2bcdd9c75.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 fd1c750..9794431 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-11 Donal K. Fellows <dkf@users.sf.net>
* doc/*.n, doc/*.3: A number of small spelling and wording fixes.
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;