summaryrefslogtreecommitdiff
path: root/Ivy/IvyStdAfx.cpp
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:02:26 +0000
committerfcolin2007-02-01 13:02:26 +0000
commit0732202b512ed4093004ec6fbb6caff87492d231 (patch)
tree1e6e00a5b67540f82c4c074b6cfe0987990fb0d8 /Ivy/IvyStdAfx.cpp
parenta8d96166e058d988bba3fd12d66d73ff08c98f14 (diff)
downloadivy-cplusplus-0732202b512ed4093004ec6fbb6caff87492d231.zip
ivy-cplusplus-0732202b512ed4093004ec6fbb6caff87492d231.tar.gz
ivy-cplusplus-0732202b512ed4093004ec6fbb6caff87492d231.tar.bz2
ivy-cplusplus-0732202b512ed4093004ec6fbb6caff87492d231.tar.xz
Utilisateur : Fcolin Date : 16/11/05 Heure : 9:54 Archivé dans $/Bus/Ivy Commentaire: 64 bits ports (vss 7)
Diffstat (limited to 'Ivy/IvyStdAfx.cpp')
-rw-r--r--Ivy/IvyStdAfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ivy/IvyStdAfx.cpp b/Ivy/IvyStdAfx.cpp
index 0d1d4b4..2fe8012 100644
--- a/Ivy/IvyStdAfx.cpp
+++ b/Ivy/IvyStdAfx.cpp
@@ -15,7 +15,7 @@ void DebugTrace ( const char *fmt , ... )
va_list args;
va_start( args, fmt );
- _vsnprintf( buffer, sizeof(buffer), fmt, args );
+ _vsnprintf_s( buffer, sizeof(buffer), sizeof(buffer)-1, fmt, args );
va_end( args );
#ifdef UNDER_CE
MultiByteToWideChar( CP_ACP, MB_PRECOMPOSED, buffer, -1, CEBuffer, 4096 );