summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 11:28:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 11:28:12 (GMT)
commitad9424f909976ade314404a44168e5c0eca6983e (patch)
tree1b870be83ae47c9c707106e98aa5329ebb562533
parent92eaf8e25d6d7e2a1eccc1edd2672f55ffd9cf12 (diff)
downloadtcl-ad9424f909976ade314404a44168e5c0eca6983e.zip
tcl-ad9424f909976ade314404a44168e5c0eca6983e.tar.gz
tcl-ad9424f909976ade314404a44168e5c0eca6983e.tar.bz2
Oops, tclWinFile.c was not supposed to be checked in
-rw-r--r--ChangeLog1
-rw-r--r--win/tclWinFile.c6
2 files changed, 3 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index b043b35..6e0d98d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,6 @@
2011-08-15 Jan Nijtmans <nijtmans@users.sf.net>
* win/tclWinPort.h: [Bug 3388350] mingw64 compiler warnings
- * win/tclWinFile.c
* win/tclWinPipe.c
* win/tclWinSock.c
* generic/tclPosixStr.c
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 271f41a..0291a41 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -123,17 +123,17 @@ typedef struct _REPARSE_DATA_BUFFER {
WORD PrintNameOffset;
WORD PrintNameLength;
ULONG Flags;
- WCHAR PathBuffer[2];
+ WCHAR PathBuffer[1];
} SymbolicLinkReparseBuffer;
struct {
WORD SubstituteNameOffset;
WORD SubstituteNameLength;
WORD PrintNameOffset;
WORD PrintNameLength;
- WCHAR PathBuffer[2];
+ WCHAR PathBuffer[1];
} MountPointReparseBuffer;
struct {
- BYTE DataBuffer[2];
+ BYTE DataBuffer[1];
} GenericReparseBuffer;
};
} REPARSE_DATA_BUFFER;