summaryrefslogtreecommitdiff
path: root/SecureIM/svcs_rsa.cpp
diff options
context:
space:
mode:
authorwatcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2012-01-01 20:39:34 +0000
committerwatcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2012-01-01 20:39:34 +0000
commitf251f8ffa34a0b9699aff9ca3ed03fec8f2d2e51 (patch)
tree976da398337868638ccafce9fbff71239a8449eb /SecureIM/svcs_rsa.cpp
parentf39683393b0f9c31559ef05c824774541d9a19be (diff)
SecureIM: x64 fixes
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@253 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'SecureIM/svcs_rsa.cpp')
-rw-r--r--SecureIM/svcs_rsa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/SecureIM/svcs_rsa.cpp b/SecureIM/svcs_rsa.cpp
index 73fbb38..d38de67 100644
--- a/SecureIM/svcs_rsa.cpp
+++ b/SecureIM/svcs_rsa.cpp
@@ -16,7 +16,7 @@ int __cdecl rsa_inject(HANDLE context, LPCSTR msg) {
#if defined(_DEBUG) || defined(NETLIB_LOG)
Sent_NetLog("rsa_inject: '%s'", msg);
#endif
- int len = strlen(msg)+1;
+ int len = (int)strlen(msg)+1;
LPSTR buf = (LPSTR) mir_alloc(LEN_SECU+len);
memcpy(buf,SIG_SECU,LEN_SECU);
memcpy(buf+LEN_SECU,msg,len);