summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;