diff options
author | Andy Polyakov <appro@openssl.org> | 2011-07-13 14:54:56 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2011-07-13 14:54:56 +0000 |
commit | dec54bd0ba4a44c587eaf53fd09ab8ef89bd815b (patch) | |
tree | 02ac322b992cec3cc70395bb8f9be87e2d894f59 /ms | |
parent | aade369737aace935de5db9ef3f85cf91ba65c66 (diff) |
ms/uplink.c: fix Visual Studio 2010 warning [from HEAD].
Diffstat (limited to 'ms')
-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 7b7da08d47..6d59cb1f87 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) |