From 35a4603c6135738a5c9f7729c6bb19f9ce656c8a Mon Sep 17 00:00:00 2001 From: watcherhd Date: Tue, 29 Nov 2011 21:47:31 +0000 Subject: 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 --- Sessions/Src/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Sessions/Src/Main.cpp') 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]; -- cgit v1.2.3