diff options
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 10876ed..05c5e2a 100644 --- a/win/tclWinDde.c +++ b/win/tclWinDde.c @@ -368,7 +368,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); } /* |