diff options
author | appro <appro> | 2011-07-13 14:54:38 +0000 |
---|---|---|
committer | appro <appro> | 2011-07-13 14:54:38 +0000 |
commit | 622ec5d6c241621bbc0cc37182fcfad4a38c177a (patch) | |
tree | 8852412d2138a59a99983512cd22038ea88868bc | |
parent | 7e6efd444adbb4e700e64adf10ac540cbc4e33e5 (diff) | |
download | openssl-622ec5d6c241621bbc0cc37182fcfad4a38c177a.tar.gz |
ms/uplink.c: fix Visual Studio 2010 warning.
-rw-r--r-- | ms/uplink.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ms/uplink.c b/ms/uplink.c index 7b7da08d4..6d59cb1f8 100644 --- a/ms/uplink.c +++ b/ms/uplink.c @@ -40,7 +40,8 @@ void OPENSSL_Uplink (volatile void **table, int index) * should be sufficient [it prohibits compiler to reorder memory * access instructions]. */ do { - len = _stprintf (msg,_T("OPENSSL_Uplink(%p,%02X): "),table,index); + len = _sntprintf (msg,sizeof(msg)/sizeof(TCHAR), + _T("OPENSSL_Uplink(%p,%02X): "),table,index); _tcscpy (msg+len,_T("unimplemented function")); if ((h=apphandle)==NULL) |