diff options
Diffstat (limited to 'SecureIM/svcs_rsa.cpp')
-rw-r--r-- | SecureIM/svcs_rsa.cpp | 2 |
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);
|