summaryrefslogtreecommitdiff
path: root/SecureIM/commonheaders.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'SecureIM/commonheaders.cpp')
-rw-r--r--SecureIM/commonheaders.cpp2
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);