projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a72ce94
)
fix Visual Studio 2010 warning [from HEAD] (original by appro)
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 20 Jan 2012 23:24:17 +0000
(23:24 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 20 Jan 2012 23:24:17 +0000
(23:24 +0000)
ms/uplink.c
patch
|
blob
|
history
diff --git
a/ms/uplink.c
b/ms/uplink.c
index 7b7da08d47b89fae94e3398f70c62b6844509565..6d59cb1f87c6f442af695bc3b42c664d69da4a66 100644
(file)
--- 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)