summaryrefslogtreecommitdiff
path: root/Sessions/Src/Main.cpp
diff options
context:
space:
mode:
authorwatcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-29 21:47:31 +0000
committerwatcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-29 21:47:31 +0000
commit35a4603c6135738a5c9f7729c6bb19f9ce656c8a (patch)
tree649db4c74654c5968dfba2a3de74c69b4437127d /Sessions/Src/Main.cpp
parente750e8644fb332c5cb9cc11a7a7cb6c2778e53e8 (diff)
another part of small project fixes and x64 adaptation in some cases
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@230 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'Sessions/Src/Main.cpp')
-rw-r--r--Sessions/Src/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sessions/Src/Main.cpp b/Sessions/Src/Main.cpp
index ec13338..47ec1b9 100644
--- a/Sessions/Src/Main.cpp
+++ b/Sessions/Src/Main.cpp
@@ -549,7 +549,7 @@ int SaveSessionDate()
GetDateFormat(LOCALE_USER_DEFAULT, DATE_SHORTDATE, NULL, NULL, szDateBuf, DateSize );
TCHAR *szSessionTime = (TCHAR*)mir_alloc((DateSize+TimeSize+5)*sizeof(TCHAR));
- int lenn = _tcslen(szSessionTime);
+ int lenn = (int)_tcslen(szSessionTime);
mir_sntprintf(szSessionTime, lenn, _T("%s - %s"), szTimeBuf, szDateBuf);
char szSessionDate[256];