summaryrefslogtreecommitdiff
path: root/worldtime_protocol/worldtimeproto.cpp
diff options
context:
space:
mode:
author(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2009-03-29 16:36:02 +0000
committer(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2009-03-29 16:36:02 +0000
commit27b6b0ead9b72541e33f6574c9649cf8b59d4605 (patch)
treed5e6bdfaa444eab7b858ec2f2ce2c149f612a75a /worldtime_protocol/worldtimeproto.cpp
parent3f3cae8fe1f960b278b51b2526c85101fb321fa4 (diff)
x64 portability
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@443 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'worldtime_protocol/worldtimeproto.cpp')
-rw-r--r--worldtime_protocol/worldtimeproto.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/worldtime_protocol/worldtimeproto.cpp b/worldtime_protocol/worldtimeproto.cpp
index 6a1cad4..b185b9c 100644
--- a/worldtime_protocol/worldtimeproto.cpp
+++ b/worldtime_protocol/worldtimeproto.cpp
@@ -10,7 +10,7 @@ HANDLE hMenuEdit;
int previousMode,
mcStatus = ID_STATUS_OFFLINE;
-UINT id_timer = 0;
+UINT_PTR id_timer = 0;
// protocol related services
INT_PTR GetCaps(WPARAM wParam,LPARAM lParam)
@@ -386,7 +386,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;
@@ -398,7 +398,7 @@ int OnModulesLoaded(WPARAM wParam, LPARAM lParam) {
update.szBetaVersionURL = "http://www.scottellis.com.au/miranda_plugins/ver_worldtimeproto.html";
update.pbBetaVersionPrefix = (BYTE *)"World Time Protocol version ";
- update.cpbBetaVersionPrefix = strlen((char *)update.pbBetaVersionPrefix);
+ update.cpbBetaVersionPrefix = (int)strlen((char *)update.pbBetaVersionPrefix);
CallService(MS_UPDATE_REGISTER, 0, (WPARAM)&update);
}