diff options
author | fcolin | 2007-02-01 13:02:26 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 13:02:26 +0000 |
commit | c8d2253ee78b2d92ef3db362ba97ed2a2f62bc7d (patch) | |
tree | 01993ed711a3e5ad8823ae3a65dfcefb91b9a972 | |
parent | bd1b8a4b1ea1be809adfdbb0e23f00fd24ab7bd6 (diff) | |
download | ivy-cplusplus-c8d2253ee78b2d92ef3db362ba97ed2a2f62bc7d.zip ivy-cplusplus-c8d2253ee78b2d92ef3db362ba97ed2a2f62bc7d.tar.gz ivy-cplusplus-c8d2253ee78b2d92ef3db362ba97ed2a2f62bc7d.tar.bz2 ivy-cplusplus-c8d2253ee78b2d92ef3db362ba97ed2a2f62bc7d.tar.xz |
Utilisateur : Fcolin Date : 16/11/05 Heure : 9:54 Archivé dans $/Bus/Ivy Commentaire: 64 bits ports (vss 7)
-rw-r--r-- | Bus/Ivy/IvyStdAfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bus/Ivy/IvyStdAfx.cpp b/Bus/Ivy/IvyStdAfx.cpp index 0d1d4b4..2fe8012 100644 --- a/Bus/Ivy/IvyStdAfx.cpp +++ b/Bus/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 );
|