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 --- Rate/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Rate/main.cpp') diff --git a/Rate/main.cpp b/Rate/main.cpp index 41c7efa..9810378 100644 --- a/Rate/main.cpp +++ b/Rate/main.cpp @@ -212,7 +212,7 @@ int onModulesLoaded(WPARAM wParam,LPARAM lParam) update.szComponentName = pluginInfo.shortName; update.pbVersion = (BYTE *)CreateVersionString(pluginInfo.version, szVersion); - update.cpbVersion = strlen((char *)update.pbVersion); + update.cpbVersion = (int)strlen((char *)update.pbVersion); update.szUpdateURL = UPDATER_AUTOREGISTER; @@ -224,7 +224,7 @@ int onModulesLoaded(WPARAM wParam,LPARAM lParam) update.szBetaVersionURL = "http://kildor.miranda.im/miranda/rate.txt"; update.szBetaChangelogURL = "http://kildor.miranda.im/miranda/rate_changes.txt"; update.pbBetaVersionPrefix = (BYTE *)"Rate "; - update.cpbBetaVersionPrefix = strlen((char *)update.pbBetaVersionPrefix); + update.cpbBetaVersionPrefix = (int)strlen((char *)update.pbBetaVersionPrefix); CallService(MS_UPDATE_REGISTER, 0, (WPARAM)&update); } -- cgit v1.2.3