diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-12 12:38:58 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-12 12:38:58 (GMT) |
| commit | e7a7d7dbfd368130d545e4174b37d347e3d77dd5 (patch) | |
| tree | 18ab88becfc510987cf8a5f21621d5e40d6376ac | |
| parent | 5834970dc69a2e8a5a9a6d515453d3244296ba49 (diff) | |
| parent | 9fd4398c3775e6b36813a39563144e926a256075 (diff) | |
| download | tcl-e7a7d7dbfd368130d545e4174b37d347e3d77dd5.zip tcl-e7a7d7dbfd368130d545e4174b37d347e3d77dd5.tar.gz tcl-e7a7d7dbfd368130d545e4174b37d347e3d77dd5.tar.bz2 | |
[Bug 3388350] mingw64 compiler warnings
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | win/tclWinFile.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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 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; |
