fix Visual Studio 2010 warning [from HEAD] (original by appro)
This commit is contained in:
parent
a72ce94213
commit
0d0f15d8d1
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue