From f022fc1b79ee29c7f8f796499129476fa49e0ca5 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Fri, 6 Aug 2010 23:58:54 +0000 Subject: x64 conversion git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@526 4f64403b-2f21-0410-a795-97e2b3489a10 --- ping/ping.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ping/ping.cpp') diff --git a/ping/ping.cpp b/ping/ping.cpp index bdab479..ed9a999 100644 --- a/ping/ping.cpp +++ b/ping/ping.cpp @@ -105,7 +105,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.szBetaChangelogURL = "https://server.scottellis.com.au/wsvn/mim_plugs/ping/?op=log&rev=0&sc=0&isdir=1"; update.szUpdateURL = UPDATER_AUTOREGISTER; @@ -118,7 +118,7 @@ int OnModulesLoaded(WPARAM wParam, LPARAM lParam) { update.szBetaVersionURL = "http://www.scottellis.com.au/miranda_plugins/ver_ping.html"; update.pbBetaVersionPrefix = (BYTE *)"Ping version "; - update.cpbBetaVersionPrefix = strlen((char *)update.pbBetaVersionPrefix); + update.cpbBetaVersionPrefix = (int)strlen((char *)update.pbBetaVersionPrefix); CallService(MS_UPDATE_REGISTER, 0, (WPARAM)&update); } -- cgit v1.2.3