diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-02-20 10:25:59 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-02-20 10:25:59 (GMT) |
commit | b0cc696f731339cb3e03b6cd2bc1b86327211f5b (patch) | |
tree | 022bbca3adecbcdef3ed73f7eac451f7d06c9e19 /win/tclWinDde.c | |
parent | 406565196b315e0a192009652e93fabcf03a28b7 (diff) | |
download | tcl-b0cc696f731339cb3e03b6cd2bc1b86327211f5b.zip tcl-b0cc696f731339cb3e03b6cd2bc1b86327211f5b.tar.gz tcl-b0cc696f731339cb3e03b6cd2bc1b86327211f5b.tar.bz2 |
Bug 3605401: Compiler error with latest mingw-w64 headers
Diffstat (limited to 'win/tclWinDde.c')
-rw-r--r-- | win/tclWinDde.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win/tclWinDde.c b/win/tclWinDde.c index d0600e6..94b4e4c 100644 --- a/win/tclWinDde.c +++ b/win/tclWinDde.c @@ -385,7 +385,8 @@ DdeSetServerName( Tcl_DStringSetLength(&dString, offset + sizeof(TCHAR) * TCL_INTEGER_SPACE); actualName = (TCHAR *) Tcl_DStringValue(&dString); } - _stprintf((TCHAR *) (Tcl_DStringValue(&dString) + offset), TEXT("%d"), suffix); + _sntprintf((TCHAR *) (Tcl_DStringValue(&dString) + offset), + TCL_INTEGER_SPACE, TEXT("%d"), suffix); } /* |