summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-12 10:29:01 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-12 10:29:01 (GMT)
commit348739729adc3e690c33831fd8acc535af539dd8 (patch)
tree05ba119e84dea62fd02d074c8e3e0e8650482c82 /win/tclWinFile.c
parentb028eea89ffe9a3c009dff8b8f7dde6421d2743b (diff)
parentc90aa17e6ef729c6cab8a8f6a1ca988c9c3d4b62 (diff)
downloadtcl-348739729adc3e690c33831fd8acc535af539dd8.zip
tcl-348739729adc3e690c33831fd8acc535af539dd8.tar.gz
tcl-348739729adc3e690c33831fd8acc535af539dd8.tar.bz2
Silence various warnings when doing a 64-bit build with MSVC: Those warnings can only _really_ be fixed in "novem" (so, don't silence them there).
Use vsnprintf (more portable) in stead of _vsnprintf, except on MSVC
Diffstat (limited to 'win/tclWinFile.c')
-rw-r--r--win/tclWinFile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 8e517d1..1d9f93a 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -799,7 +799,7 @@ tclWinDebugPanic(
WCHAR msgString[TCL_MAX_WARN_LEN];
va_start(argList, format);
- _vsnprintf(buf, sizeof(buf), format, argList);
+ vsnprintf(buf, sizeof(buf), format, argList);
msgString[TCL_MAX_WARN_LEN-1] = L'\0';
MultiByteToWideChar(CP_UTF8, 0, buf, -1, msgString, TCL_MAX_WARN_LEN);