summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 11:18:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 11:18:34 (GMT)
commit92eaf8e25d6d7e2a1eccc1edd2672f55ffd9cf12 (patch)
tree6ab908687a3019ee6f7c025c96114ba9e52236c2 /win/tclWinFile.c
parent5aa029e092e22af619bda9d024d4883a637f598a (diff)
parent092dd70e63fd7c5fcc9526b06c1242322378d492 (diff)
downloadtcl-92eaf8e25d6d7e2a1eccc1edd2672f55ffd9cf12.zip
tcl-92eaf8e25d6d7e2a1eccc1edd2672f55ffd9cf12.tar.gz
tcl-92eaf8e25d6d7e2a1eccc1edd2672f55ffd9cf12.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tclWinFile.c')
-rw-r--r--win/tclWinFile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 0291a41..271f41a 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[1];
+ WCHAR PathBuffer[2];
} SymbolicLinkReparseBuffer;
struct {
WORD SubstituteNameOffset;
WORD SubstituteNameLength;
WORD PrintNameOffset;
WORD PrintNameLength;
- WCHAR PathBuffer[1];
+ WCHAR PathBuffer[2];
} MountPointReparseBuffer;
struct {
- BYTE DataBuffer[1];
+ BYTE DataBuffer[2];
} GenericReparseBuffer;
};
} REPARSE_DATA_BUFFER;