diff options
author | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2012-01-01 20:39:34 +0000 |
---|---|---|
committer | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2012-01-01 20:39:34 +0000 |
commit | f251f8ffa34a0b9699aff9ca3ed03fec8f2d2e51 (patch) | |
tree | 976da398337868638ccafce9fbff71239a8449eb /SecureIM/commonheaders.cpp | |
parent | f39683393b0f9c31559ef05c824774541d9a19be (diff) |
SecureIM: x64 fixes
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@253 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'SecureIM/commonheaders.cpp')
-rw-r--r-- | SecureIM/commonheaders.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SecureIM/commonheaders.cpp b/SecureIM/commonheaders.cpp index e3b51a0..11ff4af 100644 --- a/SecureIM/commonheaders.cpp +++ b/SecureIM/commonheaders.cpp @@ -64,7 +64,7 @@ LPSTR myDBGetStringDecode(HANDLE hContact,const char *szModule,const char *szSet int myDBWriteStringEncode(HANDLE hContact,const char *szModule,const char *szSetting,const char *val) {
- int len = strlen(val)+64;
+ int len = (int)strlen(val)+64;
char *buf = (LPSTR)alloca(len);
strncpy(buf,val,len);
CallService(MS_DB_CRYPT_ENCODESTRING,(WPARAM)len,(LPARAM)buf);
|