summaryrefslogtreecommitdiff
path: root/meta2/meta2.cpp
diff options
context:
space:
mode:
author(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2009-03-31 05:32:30 +0000
committer(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2009-03-31 05:32:30 +0000
commit20d1480ed78c9395749d5b4e198d8687f95220e6 (patch)
treee0bc7cc56035259c8c4e8d23f2a44b8d755971a3 /meta2/meta2.cpp
parent16585b5ae2a03ce326fdd45610199eb2061bdb7a (diff)
x64 port
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@450 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'meta2/meta2.cpp')
-rw-r--r--meta2/meta2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta2/meta2.cpp b/meta2/meta2.cpp
index 447f681..5f48f27 100644
--- a/meta2/meta2.cpp
+++ b/meta2/meta2.cpp
@@ -64,7 +64,7 @@ int ModulesLoaded(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;
@@ -80,7 +80,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) {
update.szBetaVersionURL = "http://www.scottellis.com.au/miranda_plugins/ver_meta2.html";
update.pbBetaVersionPrefix = (BYTE *)"MetaContacts mk2, version ";
- update.cpbBetaVersionPrefix = strlen((char *)update.pbBetaVersionPrefix);
+ update.cpbBetaVersionPrefix = (int)strlen((char *)update.pbBetaVersionPrefix);
CallService(MS_UPDATE_REGISTER, 0, (WPARAM)&update);
}