summaryrefslogtreecommitdiff
path: root/plugins/Boltun/actionQueue.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-02 19:24:18 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-02 19:24:18 +0000
commit1fb814c69fe24e3b365dbf485d1fbef4a9993c4f (patch)
tree23a89149f5c34a2afe3bb60ae6a14ee3bbe9afaf /plugins/Boltun/actionQueue.cpp
parenta8af2c147a524df5f48e81910331febf042b505f (diff)
64-bit compilation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@267 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Boltun/actionQueue.cpp')
-rw-r--r--plugins/Boltun/actionQueue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Boltun/actionQueue.cpp b/plugins/Boltun/actionQueue.cpp
index 7b86af5a91..b627d8abc4 100644
--- a/plugins/Boltun/actionQueue.cpp
+++ b/plugins/Boltun/actionQueue.cpp
@@ -111,7 +111,7 @@ static char *MsgServiceName(HANDLE hContact)
static void TimerAnswer(HANDLE hContact, const TalkBot::MessageInfo* info)
{
DBEVENTINFO ldbei;
- int size = info->Answer.length() + 1;
+ int size = (int)info->Answer.length() + 1;
int bufsize = size;
char* msg;
#ifdef UNICODE
@@ -166,7 +166,7 @@ void DoAnswer(HANDLE hContact, const TalkBot::MessageInfo *info, bool sticky = f
int waitTime, thinkTime = 0;
int defWaitTime = Config.AnswerPauseTime * 1000;
if (Config.PauseDepends)
- waitTime = defWaitTime * info->Answer.length() / 25;
+ waitTime = defWaitTime * (int)info->Answer.length() / 25;
else
waitTime = defWaitTime;
if (Config.PauseRandom)