From f251f8ffa34a0b9699aff9ca3ed03fec8f2d2e51 Mon Sep 17 00:00:00 2001 From: watcherhd Date: Sun, 1 Jan 2012 20:39:34 +0000 Subject: SecureIM: x64 fixes git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@253 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- SecureIM/commonheaders.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SecureIM/commonheaders.cpp') 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); -- cgit v1.2.3