diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | win/tclWinFile.c | 6 |
2 files changed, 3 insertions, 4 deletions
@@ -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; |